Different exit codes for -e and -m flags? #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, both flags cause each of their non-zero exit code conditions to output the same exit code (20).
Could we perhaps differentiate these, to make usage in scripts on the user-side easier (not having to parse json to see which warning to output)?
Strictly speaking, this wouldn't be needed if one only needs either state in a script (empty package list + exit code 20? mirror issue. otherwise, packages in queue.)
But if one wants to differentiate between these, having different codes would help a lot.
Nevermind. One can just not set the -e flag and check the output... Not needed at all for scripting. Closing my issue again, sorry lol