The option --key is no longer required

This commit is contained in:
Keith Armstrong 2025-01-12 21:24:32 -05:00
parent baed379a7c
commit 6f8600057d

View File

@ -10,9 +10,9 @@ public class jCommanderArgs {
private List<String> 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")