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

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

Open
RonaldFindling opened this issue May 9, 2019 · 0 comments
Open

Comments

@RonaldFindling
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant