-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
A-aliasesArea: command aliasesArea: command aliasesA-cli-helpArea: built-in command-line helpArea: built-in command-line helpC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`E-mediumExperience: MediumExperience: Medium
Description
Problem
Currently cargo --list
splits the command itself and its aliase in seperate lines
b alias: build
bench Execute all benchmarks of a local package
build Compile a local package and all of its dependencies
build-man alias: run --package xtask-build-man --
c alias: check
Proposed Solution
i would say this should be changed to a simular / the same system as clap
has.
combining the command and its aliase
build, b Compile the current package
check, c Analyze the current package and report errors, but don't build object files
clean Remove the target directory
doc, d Build this package's and its dependencies' documentation
this behavior can already be seen in cargo --help
Notes
No response
Metadata
Metadata
Assignees
Labels
A-aliasesArea: command aliasesArea: command aliasesA-cli-helpArea: built-in command-line helpArea: built-in command-line helpC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`E-mediumExperience: MediumExperience: Medium