-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
A-cliArea: Command-line interface, option parsing, etc.Area: Command-line interface, option parsing, etc.C-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-easyExperience: EasyExperience: EasyS-acceptedStatus: Issue or feature is accepted, and has a team member available to help mentor or reviewStatus: Issue or feature is accepted, and has a team member available to help mentor or review
Description
Problem
There are several flags one might imagine users passing to Cargo that aren't supported yet. It'd be nice if we told users who try to use these what to use instead, and perhaps also linked to the issue (if any) proposing to add such a flag. Some examples:
- There's no
-C
for running in a different directory. (blocked oncargo -C dir
does not use therust-toolchain.toml
file within the given directory. #11957) - There's no
-w
or-W
short for--workspace
(except inupdate
, blocked on Add short flag-w
for--workspace
#11554). - There's no
-x
for--exclude
Add unsupported short flag suggestion for--target
and--exclude
flags #12805 - There's no
-t
for--target
Add unsupported short flag suggestion for--target
and--exclude
flags #12805 - There's no
-s
for--quiet
(-s
is "silent" incurl
) Add better suggestion for the unsupported silent flag #12723 - It's
--manifest-path
, not--path
(though there is--path
forcargo add
) - There's no
-c
for--config
Add test for unsupported short config flag #12777 - There's no
-z
, only-Z
Add unsupported lowercase-z
flag suggestion for-Z
flag #12788 - There's no
-O
, only--out-dir
Add unsupported short suggestion for --out-dir flag #12755 - There's no
-n
for--dry-run
feat(cli): Add '-n' to dry-run #12660
Proposed Solution
No response
Notes
No response
weihanglo and 0xPoe
Metadata
Metadata
Assignees
Labels
A-cliArea: Command-line interface, option parsing, etc.Area: Command-line interface, option parsing, etc.C-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-easyExperience: EasyExperience: EasyS-acceptedStatus: Issue or feature is accepted, and has a team member available to help mentor or reviewStatus: Issue or feature is accepted, and has a team member available to help mentor or review