-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
-Cfor running in a different directory. (blocked oncargo -C dirdoes not use therust-toolchain.tomlfile within the given directory. #11957) - There's no
-wor-Wshort for--workspace(except inupdate, blocked on Add short flag-wfor--workspace#11554). - There's no
-xfor--excludeAdd unsupported short flag suggestion for--targetand--excludeflags #12805 - There's no
-tfor--targetAdd unsupported short flag suggestion for--targetand--excludeflags #12805 - There's no
-sfor--quiet(-sis "silent" incurl) Add better suggestion for the unsupported silent flag #12723 - It's
--manifest-path, not--path(though there is--pathforcargo add) - There's no
-cfor--configAdd test for unsupported short config flag #12777 - There's no
-z, only-ZAdd unsupported lowercase-zflag suggestion for-Zflag #12788 - There's no
-O, only--out-dirAdd unsupported short suggestion for --out-dir flag #12755 - There's no
-nfor--dry-runfeat(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