Adding "-b" command line option for line separator.

This commit is contained in:
Kazu Yamamoto 2013-09-03 14:47:41 +09:00
parent 8117167f78
commit fc77e05245

View File

@ -56,6 +56,9 @@ argspec = [ Option "l" ["tolisp"]
, Option "s" ["sandbox"]
(ReqArg (\s opts -> opts { sandbox = Just s }) "path")
"specify cabal-dev sandbox (default 'cabal-dev`)"
, Option "b" ["boundary"]
(ReqArg (\s opts -> opts { lineSeparator = LineSeparator s }) "sep")
"specify line separator (default is Nul string)"
]
parseArgs :: [OptDescr (Options -> Options)] -> [String] -> (Options, [String])