On 0.3.12b0, exit code of `j2cli -v` and `j2cli -h` is 1
saiarcot895 opened this issue · comments
On 0.3.12b0, the exit code of j2cli -v
and j2cli -h
is 1. This is a change from 0.3.10, where the exit code there was 0.
I see that 26a67e9 added a try-catch block catching SystemExit
, and with those two commands, argparse (I'm guessing) is raising SystemExit
to exit the program. Is it possible to narrow the scope of the try-catch block so that the exit code for j2cli -v
and j2cli -h
is still 0?