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.
For example:
# dladm show-link -j
dladm: unrecognized option '-j'
usage: show-link [-p] [-s [-i <interval>]] [<name>]
Shows link configuration information (the default) or statistics,
either for all data-link or for the specified link name.
#
The summary can even be dropped if it proves too much.
Anurag
_______________________________________________
networking-discuss mailing list
[email protected]