Skip to content
This repository has been archived by the owner on Apr 25, 2020. It is now read-only.

Commit

Permalink
Adding "-b" command line option for line separator.
Browse files Browse the repository at this point in the history
  • Loading branch information
kazu-yamamoto committed Sep 3, 2013
1 parent 8117167 commit fc77e05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/GHCMod.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit fc77e05

Please sign in to comment.