Skip to content

Commit d4f55bd

Browse files
committed
Auto merge of #1010 - topecongiro:rustup-docs, r=brson
Add docs command Add an alias of "rustup doc". Closes #928.
2 parents d07cf67 + 55a04db commit d4f55bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rustup-cli/rustup_mode.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ pub fn cli() -> App<'static, 'static> {
304304
.arg(Arg::with_name("command")
305305
.required(true)))
306306
.subcommand(SubCommand::with_name("doc")
307+
.alias("docs")
307308
.about("Open the documentation for the current toolchain")
308309
.after_help(DOC_HELP)
309310
.arg(Arg::with_name("book")

0 commit comments

Comments
 (0)