CVSROOT: /cvs Module name: src Changes by: [email protected] 2009/07/06 16:12:38
Modified files:
usr.bin/mandoc : main.c
Log message:
(1) exit with failure not success if options parsing fails;
(2) use warn not warnx if fstat fails;
(3) getsubopt modifies arg, so printing it on error will print
the wrong thing: use suboptarg instead.
from nicm@
ok kristaps@ and contained in 1.7.21
