Print help, if an invalid argument is given to the command line.

https://issues.apache.org/activemq/browse/AMQ-1314

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@555911 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adrian T. Co 2007-07-13 08:30:44 +00:00
parent 073f05cc6f
commit 26f4d2a413
1 changed files with 2 additions and 1 deletions

View File

@ -103,7 +103,8 @@ public abstract class AbstractCommand implements Command {
// Token is unrecognized // Token is unrecognized
else { else {
GlobalWriter.printInfo("Ignoring unrecognized option: " + token); GlobalWriter.printInfo("Unrecognized option: " + token);
isPrintHelp = true;
} }
} }