Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
This repository was archived by the owner on May 22, 2025. It is now read-only.

Giving invalid subcommands to gtt doesn't result in an error #92

Open
@RonaldFindling

Description

@RonaldFindling

Manual misstyping or giving wrong arguments in a script doesn't result in an error (neither error exit status nor error message)

Currently:
gtt nonExisting && echo "success status" neither prints an error message nor does the command return a failure code but success instead.

Suggested:
The command returns an non zero exit code and prints an error message e.g. "Unrecognized command gtt nonExisting`

This could be interesting for scripting and it's also interesting for me as a manual user who types commands.

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