CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2019/03/04 06:01:52

Modified files:
        usr.bin/mandoc : Makefile main.c mdoc_validate.c roff.h 
Added files:
        usr.bin/mandoc : arch.c 

Log message:
When the -S option is given to man(1) and the requested manual page
name is not found and the requested architecture is unknown, complain
about the architecture rather than about the manual page name:

$ man -S vax cpu
man: Unknown architecture "vax".
$ man -S sparc64 foobar
man: No entry for foobar in the manual.

Friendlier error message suggested by jmc@, who also OK'ed the patch.

Reply via email to