diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2019-03-04 13:01:57 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2019-03-04 13:01:57 +0000 |
commit | 71a5911af71b386e3e48cce7bfeee5ad9188c4b9 (patch) | |
tree | fd26cdeb890b0104aae2cc0dfb6d774727832181 /TODO | |
parent | 389c86cd15ca2e69509e25f04d7e8dd3e1e0ddf4 (diff) | |
download | mandoc-71a5911af71b386e3e48cce7bfeee5ad9188c4b9.tar.gz |
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.
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -446,15 +446,6 @@ 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 ** |