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 d07cf67 + 55a04db commit d4f55bd
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 d4f55bd

Please sign in to comment.