Anurag S. Maskey writes: > The output would *not* be the entire man page. If the subcommand is > wrong, then the entire list of subcommands will be printed (as it does > now), but if any option to the subcommand is wrong, then the output is > the usage of that subcommand with the summary of that subcommand only. > This is along the lines of what happens in zoneadm, when the options to > the subcommands are wrong.
I don't think it should include a detailed description of any sort. If you feel that it should, then please explain how the other issues -- such as consistency among multiple commands on the system -- ought to be dealt with. History doesn't favor this approach, so I think more information is needed, and that it shouldn't just be done in one command as an experiment or as a localized fix. If it's a useful feature, then it ought to be applied in a consistent way, so that users get the same experience whether they use the command you worked on or one that someone else has modified. > For example: > > # dladm show-link -j > dladm: unrecognized option '-j' > > usage: show-link [-p] [-s [-i <interval>]] [<name>] That should be plenty. -- James Carlson, Solaris Networking <[EMAIL PROTECTED]> Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 _______________________________________________ networking-discuss mailing list [email protected]
