On Fri, 7 Mar 2014, Bruce Evans wrote:
Log:
wlanstats: add help
- add a help (-h) flag
- move usage into itsown function
it looks like the only change now is that usage info always go to stdout,
and exit code differs. i don't think it should be mfced.
It also removes the double printing of the program name (correct) and the
printing of "usage: ", and has mounds of style bugs.
gnu utilities have a --help flag that causes similar behaviour (printing to
stdout and exiting with status 0), but they still print error messages about
usage to stderr.
They can also return a non-zero status if printing the man pages encounters
problems. This leads to some curious text in the GNU info page for 'true'
explaining that it can sometimes return false.
Robert
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"