diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-04-03 16:27:28 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-04-03 16:27:28 +0000 |
commit | 12d97e930f816d7505ce9bf1b1065b89a2b0d850 (patch) | |
tree | 8e6bfc0da3e4375a003a169ed1b28ac372643034 /mandocdb.8 | |
parent | 77219a39a7d273f7e31e626a51832a2a5dde0960 (diff) | |
download | mandoc-12d97e930f816d7505ce9bf1b1065b89a2b0d850.tar.gz mandoc-12d97e930f816d7505ce9bf1b1065b89a2b0d850.tar.zst mandoc-12d97e930f816d7505ce9bf1b1065b89a2b0d850.zip |
Rename the -W option to -p (mnemonics: picky, print to stderr):
That letter was already chosen by espie@ for OpenBSD 2.7,
so avoid being gratuitiously different more than a decade later.
Accept -v for backward compatibility with espie@'s makewhatis,
even though it does nothing right now.
Diffstat (limited to 'mandocdb.8')
-rw-r--r-- | mandocdb.8 | 26 |
1 files changed, 15 insertions, 11 deletions
@@ -1,4 +1,4 @@ -.\" $Id: mandocdb.8,v 1.23 2014/04/03 15:37:19 schwarze Exp $ +.\" $Id: mandocdb.8,v 1.24 2014/04/03 16:27:28 schwarze Exp $ .\" .\" Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> .\" Copyright (c) 2011, 2012 Ingo Schwarze <schwarze@openbsd.org> @@ -23,20 +23,20 @@ .Nd index UNIX manuals .Sh SYNOPSIS .Nm -.Op Fl aDnQW +.Op Fl aDnpQ .Op Fl T Cm utf8 .Op Fl C Ar file .Nm -.Op Fl aDnQW +.Op Fl aDnpQ .Op Fl T Cm utf8 .Ar dir ... .Nm -.Op Fl DnQW +.Op Fl DnpQ .Op Fl T Cm utf8 .Fl d Ar dir .Op Ar .Nm -.Op Fl DnW +.Op Fl Dnp .Op Fl T Cm utf8 .Fl u Ar dir .Op Ar @@ -107,6 +107,9 @@ to the database in .It Fl n Do not create or modify any database; scan and parse only. +.It Fl p +Print warnings about potential problems with manual pages +to the standard error output. .It Fl Q Quickly build reduced-size databases by reading only the NAME sections of manuals. @@ -121,7 +124,7 @@ Implies .Fl a , .Fl n , and -.Fl W . +.Fl p . All diagnostic messages are printed to the standard output; the standard error output is not used. .It Fl u Ar dir @@ -129,9 +132,6 @@ Remove .Ar from the database in .Ar dir . -.It Fl W -Print warnings about potential problems with manual pages -to the standard error output. .El .Pp If fatal parse errors are encountered while parsing, the offending file @@ -189,11 +189,15 @@ The argument first appeared in .Nx 1.0 ; the options -.Fl dtu +.Fl dpt in .Ox 2.7 ; +the option +.Fl u +in +.Ox 3.4 ; and the options -.Fl aCDnQTW +.Fl aCDnQT in .Ox 5.6 . .Sh AUTHORS |