-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
When you run the tomcat-vault script with -h (or --help) it prints the scripts whole banner before printing usage. This does not work the same as other CLI tools.
While we're talking about it, is there a good reason for the script to even print the banner? Most times the JAVA variable is just 'java' and VAULT_HOME doesn't matter to the user because they ran the script from it. It's also noteworthy that tomcat-vault prints the scripts banner and then prints another banner in the VaultTool class:
$ bin/vault.sh ========================================================================= Tomcat Vault VAULT_HOME: /tomcat-vault JAVA: java ========================================================================= ********************************** **** Tomcat Vault ************** ********************************** Please enter a Digit:: 0: Start Interactive Session 1: Remove Interactive Session 2: Exit
One of them should be removed.