Skip to content

Use either command or subcommand consistently in help messages. #10195

Open

Description

Is there a difference between a command and a subcommand? If not perhaps the help message should use one word consistently. Perhaps most ambiguously, usage is cargo ... [SUBCOMMAND] but help is cargo help <command>

$ cargo | grep -i command       
    cargo [+toolchain] [OPTIONS] [SUBCOMMAND]
        --list                     List installed commands
Some common cargo commands are (see all commands with --list):
See 'cargo help <command>' for more information on a specific command.
$ cargo list | grep -i command
Installed Commands:
    git-checkout         This subcommand has been removed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions