admin@glassfish.java.net

Re: Review request: plan for doc changes arising from asadmin changes

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Thu, 16 Jul 2009 14:30:20 -0700

Kedar Mhaswade wrote on 7/16/09 9:25 AM:
> I think --help or -h is more likely for general asadmin help, e.g.
>
> $ asadmin -h
> $ asadmin --help
>
> which is what I do with any other program. So, that's my expectation with
> asadmin as well.
>
> For a subcommand help, I think we should have both:
> $ asadmin foo-cmd -h/--help, and
> $ asadmin --help/-h foo-cmd
>
> So, yes, I agree with you, first of the above two is far commoner, IME.

I've implemented both of the above.

Well, almost.

I implemented -? instead of -h, which seems to be what v2 supported.