-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
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`S-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.
Description
Problem
When you run cargo --help, you are told to use --list to get the full list of subcommands. It is not unlikely that one would interpret this as saying cargo --help --list should be used.
Proposed Solution
Instead of handling cargo --help --list as cargo --help, handle cargo --help --list as either cargo --list or as a combination of cargo --help and cargo --list, printing both flags and the full subcommand list.
Notes
No response
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`S-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.