Skip to content

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

@itsgreggreg

Description

@itsgreggreg

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-cli-helpArea: built-in command-line helpA-documenting-cargo-itselfArea: Cargo's documentationS-triageStatus: This issue is waiting on initial triage.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions