-
Notifications
You must be signed in to change notification settings - Fork 893
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3291 from hi-rustin/rustin-patch-SubcommandRequir…
…edElseHelp Set SubcommandRequiredElseHelp correctly
- Loading branch information
Showing
4 changed files
with
57 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
bin.name = "rustup" | ||
args = ["-v"] | ||
status.code = 1 | ||
stdout = """ | ||
rustup [..] | ||
The Rust toolchain installer | ||
USAGE: | ||
rustup[EXE] [OPTIONS] [+toolchain] <SUBCOMMAND> | ||
ARGS: | ||
<+toolchain> release channel (e.g. +stable) or custom toolchain to set override | ||
OPTIONS: | ||
-v, --verbose Enable verbose output | ||
-q, --quiet Disable progress output | ||
-h, --help Print help information | ||
-V, --version Print version information | ||
SUBCOMMANDS: | ||
show Show the active and installed toolchains or profiles | ||
update Update Rust toolchains and rustup | ||
check Check for updates to Rust toolchains and rustup | ||
default Set the default toolchain | ||
toolchain Modify or query the installed toolchains | ||
target Modify a toolchain's supported targets | ||
component Modify a toolchain's installed components | ||
override Modify directory toolchain overrides | ||
run Run a command with an environment configured for a given toolchain | ||
which Display which binary will be run for a given command | ||
doc Open the documentation for the current toolchain | ||
... | ||
self Modify the rustup installation | ||
set Alter rustup settings | ||
completions Generate tab-completion scripts for your shell | ||
help Print this message or the help of the given subcommand(s) | ||
DISCUSSION: | ||
Rustup installs The Rust Programming Language from the official | ||
release channels, enabling you to easily switch between stable, | ||
beta, and nightly compilers and keep them updated. It makes | ||
cross-compiling simpler with binary builds of the standard library | ||
for common platforms. | ||
If you are new to Rust consider running `rustup doc --book` to | ||
learn Rust. | ||
""" | ||
stderr = "" |