From b839043811874f536b4470d4886a4104fb52f798 Mon Sep 17 00:00:00 2001 From: topecongiro Date: Fri, 24 Mar 2017 17:15:56 +0900 Subject: [PATCH] Add docs command This PR adds "rustup docs" command which is aliased to "rustup doc". Closes #928. --- src/rustup-cli/rustup_mode.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rustup-cli/rustup_mode.rs b/src/rustup-cli/rustup_mode.rs index 3b67d5a19f..5cd97d2265 100644 --- a/src/rustup-cli/rustup_mode.rs +++ b/src/rustup-cli/rustup_mode.rs @@ -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")