Also put the error message in sys.exit rather than printing. This will output it to stderr and make the exit code non-zero like it should be.
4.6 KiB
4.6 KiB
Also put the error message in sys.exit rather than printing. This will output it to stderr and make the exit code non-zero like it should be.