admin@glassfish.java.net

Re: "asadmin create-jvm-options --?" actually creates "--?"

From: Anissa Lam <anissa.lam_at_oracle.com>
Date: Sun, 12 Dec 2010 10:58:40 -0800

On 12/12/10 10:20 AM, Anissa Lam wrote:
>
> I wasn't sure how create-jvm-options works, so i use --? like any
> other CLI command, hoping to see its usage. Surprised to see that
>
> ~ 246) asadmin create-jvm-options --?
> Created 1 option(s)
> Command create-jvm-options executed successfully.
>
> Is this a bug or by-design ?
>
> Also, have the ending "s" seems inconsistent with the rest of CLI.
> Usually the list-xxx command has the (s), while create-xxx doesn't.
>
I just realized that you can create more than 1 jvm-option with this
create-jvm-options command, so the trailing "s" make sense.

Anissa.