Skip to content
This repository was archived by the owner on Nov 18, 2020. It is now read-only.
This repository was archived by the owner on Nov 18, 2020. It is now read-only.

--help should exit with the code of 0 #307

@michaelklishin

Description

@michaelklishin

It currently returns 64 ("invalid arguments").

The team's consensus around this is the following. Exiting with an EX_USAGE makes sense for no argument invocations (e.g. rabbitmqctl). curl and grep use a non-zero exit code in that case. When the user requests --help and the tool displays it to her, it makes sense to exit with the code of 0.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions