diff options
Diffstat (limited to 'base/java-tools/src/com/netscape/cmstools/tps/profile/ProfileMappingShowCLI.java')
-rw-r--r-- | base/java-tools/src/com/netscape/cmstools/tps/profile/ProfileMappingShowCLI.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/base/java-tools/src/com/netscape/cmstools/tps/profile/ProfileMappingShowCLI.java b/base/java-tools/src/com/netscape/cmstools/tps/profile/ProfileMappingShowCLI.java index c715a3edc..b5820661b 100644 --- a/base/java-tools/src/com/netscape/cmstools/tps/profile/ProfileMappingShowCLI.java +++ b/base/java-tools/src/com/netscape/cmstools/tps/profile/ProfileMappingShowCLI.java @@ -61,6 +61,12 @@ public class ProfileMappingShowCLI extends CLI { System.exit(1); } + if (cmd.hasOption("help")) { + // Display usage + printHelp(); + System.exit(0); + } + String[] cmdArgs = cmd.getArgs(); if (cmdArgs.length != 1) { |