Skip to content

Commit

Permalink
0002024: Should not have to specify properties file for symadmin comm…
Browse files Browse the repository at this point in the history
…and if only one properties file exists
  • Loading branch information
chenson42 committed Oct 24, 2014
1 parent 6ca4d7d commit c06cba8
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -155,7 +155,8 @@ public void execute(String args[]) {
CommandLine line = parser.parse(options, args);

if (line.hasOption(HELP) || (line.getArgList().contains(HELP))
|| (line.getOptions().length == 0 && printHelpIfNoOptionsAreProvided())) {
|| ((args == null || args.length == 0)
&& line.getOptions().length == 0 && printHelpIfNoOptionsAreProvided())) {
printHelp(line, options);
System.exit(2);
}
Expand Down

0 comments on commit c06cba8

Please sign in to comment.