Permalink
Browse files

Merge pull request #1134 from 23Skidoo/show-config-file

Show '--config-file' in 'cabal help' output.
  • Loading branch information...
2 parents 87a97f4 + 027359d commit f9265697ae14db14fbf3ce61b16b75525eaf515d @23Skidoo 23Skidoo committed Nov 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 cabal-install/Distribution/Client/Setup.hs
View
2 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 f926569

Please sign in to comment.