fix --version

This commit is contained in:
Simon Michael 2008-10-15 21:47:56 +00:00
parent 6035ebfaca
commit b4ade0985f

View File

@ -51,7 +51,7 @@ parseArguments = do
args <- getArgs
case (getOpt optionorder options args) of
(opts,cmd:args,[]) -> return (opts, cmd, args)
(opts,[],[]) -> return ([Help], [], [])
(opts,[],[]) -> return (opts, [], [])
(_,_,errs) -> ioError (userError (concat errs ++ usage))
-- | Get the ledger file path from options, an environment variable, or a default