diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-17 22:43:14 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-17 22:43:14 +0000 |
commit | 332a2176094538e094fed8f1e5e251feb6b666e9 (patch) | |
tree | fc47a670fb157e5593d57abc86413feaabb2ca07 /mandoc.1 | |
parent | fc10222b160be65e60f5afcce864bcc8a49b6b48 (diff) | |
download | mandoc-332a2176094538e094fed8f1e5e251feb6b666e9.tar.gz mandoc-332a2176094538e094fed8f1e5e251feb6b666e9.tar.zst mandoc-332a2176094538e094fed8f1e5e251feb6b666e9.zip |
style message about missing RCS ids; inspired by mdoclint
Diffstat (limited to 'mandoc.1')
-rw-r--r-- | mandoc.1 | 46 |
1 files changed, 44 insertions, 2 deletions
@@ -1,4 +1,4 @@ -.\" $Id: mandoc.1,v 1.199 2017/06/13 15:06:56 schwarze Exp $ +.\" $Id: mandoc.1,v 1.200 2017/06/17 22:43:14 schwarze Exp $ .\" .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> .\" Copyright (c) 2012, 2014-2017 Ingo Schwarze <schwarze@openbsd.org> @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: June 13 2017 $ +.Dd $Mdocdate: June 17 2017 $ .Dt MANDOC 1 .Os .Sh NAME @@ -757,6 +757,48 @@ of the .Xr uname 3 function. .Bl -ohang +.It Sy "Mdocdate found" +.Pq mdoc , Nx +The +.Ic \&Dd +macro uses CVS +.Ic Mdocdate +keyword substitution, which is not supported by the +.Nx +base system. +Consider using the conventional +.Dq "Month dd, yyyy" +format instead. +.It Sy "Mdocdate missing" +.Pq mdoc , Ox +The +.Ic \&Dd +macro does not use CVS +.Ic Mdocdate +keyword substitution, but using it is conventionally expected in the +.Ox +base system. +.It Sy "legacy man(7) date format" +.Pq mdoc +The +.Ic \&Dd +macro uses the legacy +.Xr man 7 +date format +.Dq yyyy-dd-mm . +Consider using the conventional +.Xr mdoc 7 +date format +.Dq "Month dd, yyyy" +instead. +.It Sy "RCS id missing" +.Pq Ox , Nx +The manual page lacks the comment line with the RCS identifier +generated by CVS +.Ic OpenBSD +or +.Ic NetBSD +keyword substitution as conventionally used in these operating systems. .It Sy "useless macro" .Pq mdoc A |