Skip to content

Exit code for command line error same as soft-fail #2

@Code0x58

Description

@Code0x58

The flag package by default exits with a return code of 2 if there is a problem with the command line. This is the same as the code used to indicate a soft failure which means the failure should be transient e.g. network connection issues. This should use a different code (1, or 3).

If the new exit code for this isn't 1, then the exit code used when there aren't enough args should also be updated to use the same value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions