dev@glassfish.java.net

Re: asadmin --help not working with some commands

From: Bobby Bissett <bobby.bissett_at_oracle.com>
Date: Mon, 23 Aug 2010 15:36:12 -0400

> Entering an invalid option (like -x) will print the usage message based on the @Param lines.

Excellent -- I knew I had seen the message somehow, and that did it:

hostname% asadmin validate-multicast --tomrocks
Invalid option: --tomrocks
Usage: asadmin [asadmin-utility-options] validate-multicast
        [--multicastport <multicastport>]
        [--multicastaddress <multicastaddress>]
        [--bindinterface <bindinterface>] [--sendperiod <sendperiod>]
        [--timeout <timeout>] [--verbose <verbose>]
        [-?|--help[=<help(default:false)>]]
Command validate-multicast failed.
hostname%