|
1 | 1 | bin.name = "rustup"
|
2 | 2 | args = ["random"]
|
3 | 3 | status.code = 1
|
4 |
| -stdout = """ |
5 |
| -rustup [..] |
6 |
| -The Rust toolchain installer |
7 |
| -
|
8 |
| -USAGE: |
9 |
| - rustup[EXE] [OPTIONS] [+toolchain] <SUBCOMMAND> |
10 |
| -
|
11 |
| -ARGS: |
12 |
| - <+toolchain> release channel (e.g. +stable) or custom toolchain to set override |
13 |
| -
|
14 |
| -OPTIONS: |
15 |
| - -v, --verbose Enable verbose output |
16 |
| - -q, --quiet Disable progress output |
17 |
| - -h, --help Print help information |
18 |
| - -V, --version Print version information |
19 |
| -
|
20 |
| -SUBCOMMANDS: |
21 |
| - show Show the active and installed toolchains or profiles |
22 |
| - update Update Rust toolchains and rustup |
23 |
| - check Check for updates to Rust toolchains and rustup |
24 |
| - default Set the default toolchain |
25 |
| - toolchain Modify or query the installed toolchains |
26 |
| - target Modify a toolchain's supported targets |
27 |
| - component Modify a toolchain's installed components |
28 |
| - override Modify directory toolchain overrides |
29 |
| - run Run a command with an environment configured for a given toolchain |
30 |
| - which Display which binary will be run for a given command |
31 |
| - doc Open the documentation for the current toolchain |
32 |
| -... |
33 |
| - self Modify the rustup installation |
34 |
| - set Alter rustup settings |
35 |
| - completions Generate tab-completion scripts for your shell |
36 |
| - help Print this message or the help of the given subcommand(s) |
37 |
| -
|
38 |
| -DISCUSSION: |
39 |
| - Rustup installs The Rust Programming Language from the official |
40 |
| - release channels, enabling you to easily switch between stable, |
41 |
| - beta, and nightly compilers and keep them updated. It makes |
42 |
| - cross-compiling simpler with binary builds of the standard library |
43 |
| - for common platforms. |
44 |
| -
|
45 |
| - If you are new to Rust consider running `rustup doc --book` to |
46 |
| - learn Rust. |
47 |
| -""" |
| 4 | +stdout = "" |
48 | 5 | stderr = """
|
49 |
| -error: To override the toolchain using the 'rustup +toolchain' syntax, make sure to prefix the toolchain override with a '+' |
| 6 | +error: Invalid value \"random\" for '<+toolchain>': \"random\" is not a valid subcommand, so it was interpreted as a toolchain name, but it is also invalid. To override the toolchain using the 'rustup +toolchain' syntax, make sure to prefix the toolchain override with a '+' |
50 | 7 |
|
| 8 | +For more information try --help |
51 | 9 | """
|
0 commit comments