cargo help <alias>
should show what <alias>
stands for
#10138
Labels
A-aliases
Area: command aliases
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Problem
Currently, if I have a
.cargo/config
like this:And I do
cargo help bw
I get the help for
cargo build
Proposed Solution
Instead of the current behavior, I would like something like
git
:If I want the infos for
build
,cargo bw --help
would still work, just likegit cam --help
show the full help forcommit
in the example above.Notes
One thing I have not seen
git
do is tell from where the alias comes. If possible, indicating the file (and even the precise location) would be very nice.The same could be done for subcommands like
cargo add
fromcargo-edit
, with something like this:But this could be a separate feature request, I don't know how much the two are linked internally.
The text was updated successfully, but these errors were encountered: