Skip to content

Commit b4253e5

Browse files
committed
fix(help): mention --config <PATH> in help text
1 parent 6269ab4 commit b4253e5

File tree

40 files changed

+780
-728
lines changed

40 files changed

+780
-728
lines changed

src/bin/cargo/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ See '<cyan,bold>cargo help</> <cyan><<command>></>' for more information on a sp
668668
.action(ArgAction::SetTrue)
669669
.global(true)
670670
.hide(true))
671-
.arg(multi_opt("config", "KEY=VALUE", "Override a configuration value").global(true))
671+
.arg(multi_opt("config", "KEY=VALUE|PATH", "Override a configuration value").global(true))
672672
// Better suggestion for the unsupported lowercase unstable feature flag.
673673
.arg( Arg::new("unsupported-lowercase-unstable-feature-flag")
674674
.help("")

tests/testsuite/cargo/help/stdout.term.svg

Lines changed: 38 additions & 36 deletions
Loading

tests/testsuite/cargo_add/help/stdout.term.svg

Lines changed: 2 additions & 2 deletions
Loading

tests/testsuite/cargo_bench/help/stdout.term.svg

Lines changed: 11 additions & 11 deletions
Loading

0 commit comments

Comments
 (0)