Skip to content

Commit

Permalink
[HHQ-3583] Fix handling of -s and --secure CLI arguments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Morgan committed Dec 4, 2009
1 parent a0de5d4 commit 3d525c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/hyperic/hq/hqapi1/tools/Command.java
Expand Up @@ -141,7 +141,7 @@ protected HQApi getApi(OptionSet s) {
password = clientProps.getProperty(OPT_PASS);
}

Boolean secure = s.hasArgument(OPT_SECURE[0]) ||
Boolean secure = s.has(OPT_SECURE[0]) ||
Boolean.valueOf(clientProps.getProperty(OPT_SECURE[1],
"false"));

Expand Down

0 comments on commit 3d525c0

Please sign in to comment.