Skip to content

Commit

Permalink
Mention password-command option in upload --help
Browse files Browse the repository at this point in the history
  • Loading branch information
v0d1ch authored and phadej committed Apr 9, 2020
1 parent 30da456 commit 867b89b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions 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 @@ -2201,7 +2201,7 @@ uploadCommand = CommandUI {
commandDescription = Nothing,
commandNotes = Just $ \_ ->
"You can store your Hackage login in the ~/.cabal/config file\n"
++ relevantConfigValuesText ["username", "password"],
++ relevantConfigValuesText ["username", "password", "password-command"],
commandUsage = \pname ->
"Usage: " ++ pname ++ " upload [FLAGS] TARFILES\n",
commandDefaultFlags = defaultUploadFlags,
Expand Down
3 changes: 3 additions & 0 deletions changelog.d/issue-5224
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
synopsis: `upload --help` now includes `password-command` as a config file option (#5224)
issues: #5224
prs: #6609 #6313 #6680

0 comments on commit 867b89b

Please sign in to comment.