Skip to content

Commit 46089e2

Browse files
committed
Fix rustup_only_options_stdout
The overridden binary name means that the [EXE] override is not required in the usage output.
1 parent 2eb3c2f commit 46089e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/suite/cli-ui/rustup/rustup_only_options_stdout.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
bin.name = "rustup"
21
args = ["-q"]
2+
bin.name = "rustup"
33
status.code = 1
4-
stdout = ""
54
stderr = """
65
rustup [..]
76
87
The Rust toolchain installer
98
10-
Usage: rustup[EXE] [OPTIONS] [+toolchain] [COMMAND]
9+
Usage: rustup [OPTIONS] [+toolchain] [COMMAND]
1110
1211
Commands:
1312
show Show the active and installed toolchains or profiles
@@ -55,3 +54,4 @@ Discussion:
5554
learn Rust.
5655
5756
"""
57+
stdout = ""

0 commit comments

Comments
 (0)