diff options
Diffstat (limited to 'Command/Help.hs')
-rw-r--r-- | Command/Help.hs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Command/Help.hs b/Command/Help.hs index 08873e2bb..17ed8cd0b 100644 --- a/Command/Help.hs +++ b/Command/Help.hs @@ -22,9 +22,12 @@ import qualified Command.Fsck import System.Console.GetOpt cmd :: Command -cmd = noCommit $ noRepo startNoRepo $ dontCheck repoExists $ - command "help" SectionCommon "display help" - "COMMAND" (withParams seek) +cmd = noCommit $ dontCheck repoExists $ + noRepo (parseparams startNoRepo) $ + command "help" SectionCommon "display help" + "COMMAND" (parseparams seek) + where + parseparams = withParams seek :: CmdParams -> CommandSeek seek = withWords start |