Merge "sonar fix AAFcli.java"
[aaf/authz.git] / cadi / core / src / test / java / org / onap / aaf / cadi / test / JU_CmdLine.java
index cba4c46..859f9a2 100644 (file)
@@ -163,7 +163,7 @@ public class JU_CmdLine {
 
         String filePath = "test/output_key";
         File testDir = new File("test");
-        if(!testDir.exists()) {
+        if (!testDir.exists()) {
             testDir.mkdirs();
         }
         CmdLine.main(new String[]{"keygen", filePath});
@@ -235,6 +235,7 @@ public class JU_CmdLine {
             "  digest [<passwd>|-i|] <keyfile>        (Encrypts Password with \"keyfile\"" + lineSeparator +
             "                                          if passwd = -i, will read StdIn" + lineSeparator +
             "                                          if passwd is blank, will ask securely)" + lineSeparator +
+            "  undigest <enc:...> <keyfile>           (Decrypts Encoded with \"keyfile\")" + lineSeparator +
             "  passgen <digits>                       (Generate Password of given size)" + lineSeparator +
             "  urlgen <digits>                        (Generate URL field of given size)" + lineSeparator +
             "  encode64 <your text>                   (Encodes to Base64)" + lineSeparator +