aboutsummaryrefslogtreecommitdiffstats
path: root/site-manager
diff options
context:
space:
mode:
Diffstat (limited to 'site-manager')
-rw-r--r--site-manager/src/main/java/org/openecomp/policy/common/sitemanager/Main.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/site-manager/src/main/java/org/openecomp/policy/common/sitemanager/Main.java b/site-manager/src/main/java/org/openecomp/policy/common/sitemanager/Main.java
index 3344f923..52f36e33 100644
--- a/site-manager/src/main/java/org/openecomp/policy/common/sitemanager/Main.java
+++ b/site-manager/src/main/java/org/openecomp/policy/common/sitemanager/Main.java
@@ -167,7 +167,7 @@ public class Main
System.exit(1);
}
- if (cmd.getOptionValue('h') != null || cmd.getOptionValue('?') != null)
+ if (cmd == null || cmd.getOptionValue('h') != null || cmd.getOptionValue('?') != null)
{
help();
System.exit(0);