You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.
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?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
On 0.3.12b0, the exit code of
j2cli -v
andj2cli -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 raisingSystemExit
to exit the program. Is it possible to narrow the scope of the try-catch block so that the exit code forj2cli -v
andj2cli -h
is still 0?The text was updated successfully, but these errors were encountered: