Closed balupton closed 2 years ago
--version should return a 0 exit code, currently it returns 1
--version
0
1
--help should return a 0 exit code or 22 which is EINVAL 22 Invalid argument
--help
22
this allows commands that check to see if the command is actually working to do so:
https://github.com/bevry/dorothy/blob/master/commands/command-working
Thank you. I will work on it for next version.
@balupton Hi, This behavior has been fixed at v1.2.2.
$ teip --version teip 1.2.2 $ echo $? 0 $ teip --help &> /dev/null $ echo $? 0
If you have any other issues, please let me know.
--version
should return a0
exit code, currently it returns1
--help
should return a0
exit code or22
which is EINVAL 22 Invalid argumentthis allows commands that check to see if the command is actually working to do so:
https://github.com/bevry/dorothy/blob/master/commands/command-working