Anissa Lam wrote on 12/12/2010 10:20 AM:
>
> 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 ?
By design. There's no way to distinguish valid jvm options from valid
asadmin options, so it considers them all to be jvm options.
> 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.
That's what it's always been named, probably because you can create more
than one option at a time.