admin@glassfish.java.net

Re: command usage messages

From: <jerome.dochez_at_oracle.com>
Date: Mon, 30 Aug 2010 13:04:20 -0700

Yes I changed some of that last week. I will fix this.

Jerome

On Aug 30, 2010, at 12:25, Tom Mueller <tom.mueller_at_oracle.com> 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
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>