From 6f8600057dd344bcc745a75485e354d14090d401 Mon Sep 17 00:00:00 2001 From: Keith Armstrong Date: Sun, 12 Jan 2025 21:24:32 -0500 Subject: [PATCH] The option --key is no longer required --- src/com/belkast/soap/jCommanderArgs.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/belkast/soap/jCommanderArgs.java b/src/com/belkast/soap/jCommanderArgs.java index fb425ec..9af6519 100644 --- a/src/com/belkast/soap/jCommanderArgs.java +++ b/src/com/belkast/soap/jCommanderArgs.java @@ -10,9 +10,9 @@ public class jCommanderArgs { private List parameters = new ArrayList<>(); @Parameter(names = "--props" , description = "Location of the properties file", validateWith = jCommanderVerifyFile.class) - public String props = "props.conf"; + public String props; - @Parameter(names = "--key", description = "Encryption key (must be 16 characters)", required = true, password = true, validateWith = jCommanderVerifyKey.class) + @Parameter(names = "--key", description = "Encryption key (must be 16 characters)", password = true, validateWith = jCommanderVerifyKey.class) public String key; @Parameter(names = "--encrypt", description = "Value to encrypt using the encryption key")