Skip to content

Commit

Permalink
[HHQ-3275] Fix regression in handling of --properties argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Morgan committed Apr 15, 2010
1 parent 20f760b commit c7917a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/org/hyperic/hq/hqapi1/tools/Shell.java
Expand Up @@ -109,7 +109,9 @@ static void initConnectionProperties(final String[] args) throws Exception {
|| arg.trim().startsWith(
"--" + OptionParserFactory.OPT_USER)
|| arg.trim().startsWith(
"--" + OptionParserFactory.OPT_SECURE)) {
"--" + OptionParserFactory.OPT_SECURE)
|| arg.trim().startsWith(
"--" + OptionParserFactory.OPT_PROPERTIES)) {
connectionArgs.add(arg);
if( i != args.length-1 && !(args[i+1].startsWith("--"))) {
connectionArgs.add(args[i+1]);
Expand Down

0 comments on commit c7917a5

Please sign in to comment.