mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2024-12-22 12:57:57 +01:00
Do not overwrite command name.
Doing so would break resolution of command.usage.header strings
This commit is contained in:
parent
86e39809ae
commit
3801a644ef
1 changed files with 1 additions and 2 deletions
|
@ -72,8 +72,7 @@ public class SopCLI {
|
|||
CommandLine gen = cmd.getSubcommands().get("generate-completion");
|
||||
gen.getCommandSpec().usageMessage().hidden(true);
|
||||
|
||||
cmd.setCommandName(EXECUTABLE_NAME)
|
||||
.setExecutionExceptionHandler(new SOPExecutionExceptionHandler())
|
||||
cmd.setExecutionExceptionHandler(new SOPExecutionExceptionHandler())
|
||||
.setExitCodeExceptionMapper(new SOPExceptionExitCodeMapper())
|
||||
.setCaseInsensitiveEnumValuesAllowed(true);
|
||||
|
||||
|
|
Loading…
Reference in a new issue