diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-08-10 22:43:20 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-08-10 22:43:20 +0000 |
commit | 185b4a7b69884b16b9c646e4efc4d357b38ac66c (patch) | |
tree | 0f3dc00c52ed3e9ea27a0631c9cc5a17a3d8cdfd | |
parent | c3329497cf03380460e875bcbd65f8966ac55ce4 (diff) | |
download | mandoc-185b4a7b69884b16b9c646e4efc4d357b38ac66c.tar.gz |
error message for invalid -S argument
-rw-r--r-- | TODO | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -523,6 +523,15 @@ are mere guesses, and some may be wrong. * warning issues ************************************************************************ +- When a man(1) command returns no result and there was an -S + argument, check the -S argument against the list of valid + architectures and say "Unknown architecture AAA" rather than + "No entry for NNN in the manual" if there is no match. + Requires moving the lists of valid architectures out of + mdoc_validate.c such that they can be used by main.c. + Discussed with jmc@ 10 Aug 2018 19:20:12 +0100. + loc ** exist * algo * size * imp ** + - warn about duplicate .Sh/.Ss heads gre(4): Rename duplicate sections 20 Apr 2018 15:27:33 +0200 loc * exist * algo * size * imp ** |