Skip to content

Commit

Permalink
Show '--config-file' in 'cabal help' output.
Browse files Browse the repository at this point in the history
Fixes #1113.
  • Loading branch information
23Skidoo committed Nov 24, 2012
1 parent 72d16cb commit 027359d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cabal-install/Distribution/Client/Setup.hs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ globalCommand = CommandUI {
++ " " ++ pname ++ " update\n",
commandDefaultFlags = defaultGlobalFlags,
commandOptions = \showOrParseArgs ->
(case showOrParseArgs of ShowArgs -> take 2; ParseArgs -> id)
(case showOrParseArgs of ShowArgs -> take 3; ParseArgs -> id)
[option ['V'] ["version"]
"Print version information"
globalVersion (\v flags -> flags { globalVersion = v })
Expand Down

0 comments on commit 027359d

Please sign in to comment.