Skip to content

Commit 967ecd3

Browse files
authored
Add a config path on Windows in a message (#9193)
* Add a config path on Windows in a message * split lines
1 parent 41225bb commit 967ecd3

File tree

1 file changed

+2
-0
lines changed
  • cabal-install/src/Distribution/Client

1 file changed

+2
-0
lines changed

cabal-install/src/Distribution/Client/Setup.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1670,6 +1670,7 @@ reportCommand =
16701670
, commandDescription = Nothing
16711671
, commandNotes = Just $ \_ ->
16721672
"You can store your Hackage login in the ~/.config/cabal/config file\n"
1673+
++ "(the %APPDATA%\\cabal\\config file on Windows)\n"
16731674
, commandUsage = usageAlternatives "report" ["[FLAGS]"]
16741675
, commandDefaultFlags = defaultReportFlags
16751676
, commandOptions = \_ ->
@@ -2690,6 +2691,7 @@ uploadCommand =
26902691
, commandDescription = Nothing
26912692
, commandNotes = Just $ \_ ->
26922693
"You can store your Hackage login in the ~/.config/cabal/config file\n"
2694+
++ "(the %APPDATA%\\cabal\\config file on Windows)\n"
26932695
++ relevantConfigValuesText ["username", "password", "password-command"]
26942696
, commandUsage = \pname ->
26952697
"Usage: " ++ pname ++ " upload [FLAGS] TARFILES\n"

0 commit comments

Comments
 (0)