Skip to content

Tweak rustup help output #4272

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 30, 2025
Merged

Tweak rustup help output #4272

merged 2 commits into from
Mar 30, 2025

Conversation

djc
Copy link
Contributor

@djc djc commented Mar 30, 2025

--- old.txt     2025-03-30 10:49:43
+++ new.txt     2025-03-30 10:49:30
@@ -1,15 +1,15 @@
-rustup 1.28.1+35 (626178865 2025-03-25) dirty 1 modification
+rustup 1.28.1+37 (39efc4949 2025-03-30)
 
 The Rust toolchain installer
 
 Usage: rustup[EXE] [OPTIONS] [+toolchain] [COMMAND]
 
 Commands:
+  toolchain    Install, uninstall, or list toolchains
+  default      Set the default toolchain
   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 toolchain overrides for directories

Fixes #4269.

Copy link
Member

@rami3l rami3l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's much cleaner, thanks!

@djc djc enabled auto-merge March 30, 2025 11:57
@djc djc added this pull request to the merge queue Mar 30, 2025
Copy link
Member

@ChrisDenton ChrisDenton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is much nicer!

Merged via the queue into master with commit bc82032 Mar 30, 2025
29 checks passed
@djc djc deleted the cli-tweaks branch March 30, 2025 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rustup is an installer, but install is not discoverable from rustup --help
3 participants