Permalink
Browse files

Show '--config-file' in 'cabal help' output.

Fixes #1113.
  • Loading branch information...
1 parent 72d16cb commit 027359db12bf442a5ba126811d63e8d04f1c7c4f @23Skidoo 23Skidoo committed Nov 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 cabal-install/Distribution/Client/Setup.hs
@@ -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 })

0 comments on commit 027359d

Please sign in to comment.