summaryrefslogtreecommitdiffstats
path: root/base/java-tools/src/com/netscape/cmstools/tps/profile/ProfileShowCLI.java
diff options
context:
space:
mode:
Diffstat (limited to 'base/java-tools/src/com/netscape/cmstools/tps/profile/ProfileShowCLI.java')
-rw-r--r--base/java-tools/src/com/netscape/cmstools/tps/profile/ProfileShowCLI.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/base/java-tools/src/com/netscape/cmstools/tps/profile/ProfileShowCLI.java b/base/java-tools/src/com/netscape/cmstools/tps/profile/ProfileShowCLI.java
index 7c4c2fa1e..37d1ed40d 100644
--- a/base/java-tools/src/com/netscape/cmstools/tps/profile/ProfileShowCLI.java
+++ b/base/java-tools/src/com/netscape/cmstools/tps/profile/ProfileShowCLI.java
@@ -61,6 +61,12 @@ public class ProfileShowCLI extends CLI {
System.exit(1);
}
+ if (cmd.hasOption("help")) {
+ // Display usage
+ printHelp();
+ System.exit(0);
+ }
+
String[] cmdArgs = cmd.getArgs();
if (cmdArgs.length != 1) {