Skip to content

Commit 2b5d19b

Browse files
committed
Add alias rustup status for rustup show
The existence of `git status` makes fingers want to try `rustup status`, but `rustup` calls that command `rustup show`. Add an alias.
1 parent 44fba34 commit 2b5d19b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli/rustup_mode.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ enum RustupSubcmd {
158158
},
159159

160160
/// Show the active and installed toolchains or profiles
161-
#[command(after_help = show_help())]
161+
#[command(after_help = show_help(), aliases = ["status"])]
162162
Show {
163163
/// Enable verbose output with rustc information for all installed toolchains
164164
#[arg(short, long)]

0 commit comments

Comments
 (0)