Skip to content
This repository

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

Merged
merged 1 commit into from over 1 year ago

2 participants

Mikhail Glushenkov Duncan Coutts
Mikhail Glushenkov
Owner

Fixes #1113.

If --config-file is hidden intentionally, we should mark #1113 and #1114 as wontfix.

Duncan Coutts
Owner

Yeah ok, fine to list that one.

Mikhail Glushenkov 23Skidoo merged commit f926569 into from
Mikhail Glushenkov 23Skidoo closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Nov 24, 2012
Mikhail Glushenkov Show '--config-file' in 'cabal help' output.
Fixes #1113.
027359d
This page is out of date. Refresh to see the latest.
2  cabal-install/Distribution/Client/Setup.hs
@@ -138,7 +138,7 @@ globalCommand = CommandUI {
138 138
       ++ "  " ++ pname ++ " update\n",
139 139
     commandDefaultFlags = defaultGlobalFlags,
140 140
     commandOptions      = \showOrParseArgs ->
141  
-      (case showOrParseArgs of ShowArgs -> take 2; ParseArgs -> id)
  141
+      (case showOrParseArgs of ShowArgs -> take 3; ParseArgs -> id)
142 142
       [option ['V'] ["version"]
143 143
          "Print version information"
144 144
          globalVersion (\v flags -> flags { globalVersion = v })
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.