Establish the code for System.exit() to assist scripting.
For example, for Verify command, the meaning of exit codes can be:
- 0 - tool runs fine, valid SPDX document
- 1 - tool runs fine, invalid SPDX document
- 2 - you run the tool in a wrong way
This semantics align with bash, grep, diff, and Python argparse.
Establish the code for
System.exit()to assist scripting.For example, for Verify command, the meaning of exit codes can be:
This semantics align with bash, grep, diff, and Python argparse.