Skip to content

Commit

Permalink
Fix rustup_only_options_stdout
Browse files Browse the repository at this point in the history
The overridden binary name means that the [EXE] override is not required
in the usage output.
  • Loading branch information
rbtcollins committed Aug 29, 2023
1 parent 2eb3c2f commit 46089e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/suite/cli-ui/rustup/rustup_only_options_stdout.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
bin.name = "rustup"
args = ["-q"]
bin.name = "rustup"
status.code = 1
stdout = ""
stderr = """
rustup [..]
The Rust toolchain installer
Usage: rustup[EXE] [OPTIONS] [+toolchain] [COMMAND]
Usage: rustup [OPTIONS] [+toolchain] [COMMAND]
Commands:
show Show the active and installed toolchains or profiles
Expand Down Expand Up @@ -55,3 +54,4 @@ Discussion:
learn Rust.
"""
stdout = ""

0 comments on commit 46089e2

Please sign in to comment.