From aa52cb632be5f64c8859ac636937f0c526b1f10d Mon Sep 17 00:00:00 2001 From: Abhishek Koneru Date: Wed, 30 Oct 2013 08:28:19 -0400 Subject: 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 --- .../src/com/netscape/cmstools/cert/CertRequestReviewCLI.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'base/java-tools/src/com') 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(); -- cgit