CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2019/07/10 13:38:56
Modified files: usr.bin/mandoc : main.c mandoc.1 mandoc.h mandoc_msg.c manpath.c read.c tag.c Log message: Some time ago, i simplified mandoc_msg() such that it can be used everywhere and not only in the parsers. For more uniform messages, use it at more places instead of err(3), in particular in the main program. While here, integrate a few trivial functions called at exactly one place into the main option parser, and let a few more functions use the normal convention of returning 0 for success and -1 for error.