Skip to main content

Source code revision

svn

summary: Fix for 15716
revision: 44748
author: tjquinn
date: 2011-01-27 19:51:34 UTC (5 years)
message: Fix for 15716

appclient -help displays the usage output, not the much more complete help output. This is because the code checks to make sure the user specifies a main class or a client JAR; if not, it automatically acts as if the user entered "-usage" instead. But that logic failed to account for cases in which the user specified -help (or -usage for that matter). And because the ACC checked for "-usage" before "-help" it would display the usage text instead.

These changes fix that.

Approved: Chris
Reviewed: Hong
Tests: updated appclient devtests
Change Path Actions
M trunk/v3/appclient/client/acc/src/main/java/org/glassfish/appclient/client/CLIBootstrap.java
 
 
Close
loading
Please Confirm
Close