The flag package by default exits with a return code of 2 if there is a problem with the command line. This is the same as the code used to indicate a soft failure which means the failure should be transient e.g. network connection issues. This should use a different code (1, or 3).
If the new exit code for this isn't 1, then the exit code used when there aren't enough args should also be updated to use the same value.
The flag package by default exits with a return code of 2 if there is a problem with the command line. This is the same as the code used to indicate a soft failure which means the failure should be transient e.g. network connection issues. This should use a different code (1, or 3).
If the new exit code for this isn't 1, then the exit code used when there aren't enough args should also be updated to use the same value.