Reference exit codes by Exception

This commit is contained in:
Paul Schaub 2023-07-12 14:22:57 +02:00
parent feb9efc733
commit edb384d157
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
11 changed files with 13 additions and 11 deletions

View file

@ -14,7 +14,7 @@ import java.io.IOException;
@CommandLine.Command(name = "revoke-key",
resourceBundle = "msg_revoke-key",
exitCodeOnInvalidInput = 37)
exitCodeOnInvalidInput = SOPGPException.UnsupportedOption.EXIT_CODE)
public class RevokeKeyCmd extends AbstractSopCmd {
@CommandLine.Option(names = "--no-armor",