diff options
author | Abhishek Koneru <akoneru@redhat.com> | 2013-10-30 08:28:19 -0400 |
---|---|---|
committer | Abhishek Koneru <akoneru@redhat.com> | 2013-10-31 15:34:03 -0400 |
commit | aa52cb632be5f64c8859ac636937f0c526b1f10d (patch) | |
tree | a294eff20318bf2eeab557d93deef391363740bb /base/java-tools/src/com/netscape/cmstools/cert | |
parent | a42e510e5b916d5d8dbdc9b9a59cf80c90c197cd (diff) | |
download | pki-aa52cb632be5f64c8859ac636937f0c526b1f10d.tar.gz pki-aa52cb632be5f64c8859ac636937f0c526b1f10d.tar.xz pki-aa52cb632be5f64c8859ac636937f0c526b1f10d.zip |
Modify output file option for cert-request-review command.
Change the --output option to --file for providing a file to store the
certificate request to be reviewed using the cert-request-review cli command.
Update the man page entry for the same.
Ticket #674
Diffstat (limited to 'base/java-tools/src/com/netscape/cmstools/cert')
-rw-r--r-- | base/java-tools/src/com/netscape/cmstools/cert/CertRequestReviewCLI.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/base/java-tools/src/com/netscape/cmstools/cert/CertRequestReviewCLI.java b/base/java-tools/src/com/netscape/cmstools/cert/CertRequestReviewCLI.java index d303b2edb..d39a70389 100644 --- a/base/java-tools/src/com/netscape/cmstools/cert/CertRequestReviewCLI.java +++ b/base/java-tools/src/com/netscape/cmstools/cert/CertRequestReviewCLI.java @@ -47,7 +47,7 @@ public class CertRequestReviewCLI extends CLI { option.setArgName("action"); options.addOption(option); - option = new Option(null, "output", true, "Output filename"); + option = new Option(null, "file", true, "File to store the certificate request"); option.setArgName("filename"); options.addOption(option); @@ -78,8 +78,8 @@ public class CertRequestReviewCLI extends CLI { String filename = null; if (action == null) { - if (cmd.hasOption("output")) { - filename = cmd.getOptionValue("output"); + if (cmd.hasOption("file")) { + filename = cmd.getOptionValue("file"); } else { System.err.println("Error: Missing output file name."); printHelp(); |