j2cli
j2cli copied to clipboard
On 0.3.12b0, exit code of `j2cli -v` and `j2cli -h` is 1
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 26a67e9419d96b7f92871e8b93dba00306c5df0b 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?