Add DetachInbandSignatureAndMessageCmd skeletton

This commit is contained in:
Paul Schaub 2021-07-20 09:30:43 +02:00
parent 788c82531e
commit 40dfa6528a
2 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,11 @@
package sop.cli.picocli.commands;
import picocli.CommandLine;
import sop.exception.SOPGPException;
@CommandLine.Command(name = "detach-inband-signature-and-message",
description = "Split a clearsigned message",
exitCodeOnInvalidInput = SOPGPException.UnsupportedOption.EXIT_CODE)
public class DetachInbandSignatureAndMessageCmd implements Runnable {
}

View File

@ -58,7 +58,7 @@ public class EncryptCmdTest {
@Test
@ExpectSystemExitWithStatus(19)
public void missingPasswordAndCertFileCauseExit19() {
public void missingBothPasswordAndCertFileCauseExit19() {
SopCLI.main(new String[] {"encrypt", "--no-armor"});
}