It looks like maybe all of the remote commands are doing the latter.
Why?
Tom
On 8/30/2010 2:25 PM, Tom Mueller wrote:
> Does anyone know why the behavior of the command output for the usage
> message has changed recently. It used to be that for any command, if
> you gave an invalid option such as -x, the output would be the
> complete usage message. For example:
>
> $ asadmin list-domains -x
> Invalid option: -x
> Usage: asadmin [asadmin-utility-options] list-domains [--domaindir
> <domaindir>]
> [-?|--help[=<help(default:false)>]]
> Command list-domains failed.
>
> However, for some subset of the commands, this has changed. For
> example, for create-cluster, you now get this:
>
> $ asadmin create-cluster -x
> Invalid option: -x
> Usage: asadmin [asadmin-utility-options] Creates a new GlassFish cluster
> Command create-cluster failed.
>
> Thanks.
> Tom
>
>