Skip to content

Commit b839043

Browse files
committed
Add docs command
This PR adds "rustup docs" command which is aliased to "rustup doc". Closes #928.
1 parent 55ea19a commit b839043

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)