diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2017-07-25 14:50:12 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-07-25 14:50:12 +0000 |
commit | 85f5fade13c0c326c808cea21d85e79814fd862a (patch) | |
tree | e3805f790a80a8999f2cf89d8994eba3ba85b47a /site-manager/src | |
parent | 8a6170b76693a10c37237978c33e94b3f8bf8f0d (diff) | |
parent | a9cf7cad63d4e241ce46dcfc367ead2279c3fa69 (diff) |
Merge "[POLICY-8] clean commons from sonar blockers"
Diffstat (limited to 'site-manager/src')
-rw-r--r-- | site-manager/src/main/java/org/openecomp/policy/common/sitemanager/Main.java | 2 |
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); |