Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant