Skip to content

Commit

Permalink
Auto merge of #1010 - topecongiro:rustup-docs, r=brson
Browse files Browse the repository at this point in the history
Add docs command

Add an alias of "rustup doc".
Closes #928.
  • Loading branch information
bors committed Mar 28, 2017
2 parents 55ea19a + b839043 commit b705899
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rustup-cli/rustup_mode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ pub fn cli() -> App<'static, 'static> {
.arg(Arg::with_name("command")
.required(true)))
.subcommand(SubCommand::with_name("doc")
.alias("docs")
.about("Open the documentation for the current toolchain")
.after_help(DOC_HELP)
.arg(Arg::with_name("book")
Expand Down

0 comments on commit b705899

Please sign in to comment.