Skip to content

Commit 8fadfd9

Browse files
committed
Fixes #2276: rustup toolchain help link has misleading help message for <toolchain>
1 parent 5d9d980 commit 8fadfd9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/cli/rustup_mode.rs

+6-2
Original file line numberDiff line numberDiff line change
@@ -360,10 +360,14 @@ pub fn cli() -> App<'static, 'static> {
360360
.after_help(TOOLCHAIN_LINK_HELP)
361361
.arg(
362362
Arg::with_name("toolchain")
363-
.help(TOOLCHAIN_ARG_HELP)
363+
.help("Custom toolchain name")
364364
.required(true),
365365
)
366-
.arg(Arg::with_name("path").required(true)),
366+
.arg(
367+
Arg::with_name("path")
368+
.help("Path to the directory")
369+
.required(true),
370+
),
367371
),
368372
)
369373
.subcommand(

0 commit comments

Comments
 (0)