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

@ -18,7 +18,7 @@ import java.util.List;
@CommandLine.Command(name = "encrypt",
resourceBundle = "msg_encrypt",
exitCodeOnInvalidInput = 37)
exitCodeOnInvalidInput = SOPGPException.UnsupportedOption.EXIT_CODE)
public class EncryptCmd extends AbstractSopCmd {
@CommandLine.Option(names = "--no-armor",