Skip to content

Respond to --help on all commands #1823

@mrginglymus

Description

@mrginglymus

Currently, only the root changesets cli command accepts a help option. All other subcommands will discard a help command and perform potentially dangerous operations.

I cannot think of another CLI tool where passing in --help doesn't, at the very least, throw an error for unrecognised option, and this is especially harmful on a tool that might be modfying data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions