diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-07-28 18:34:15 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-07-28 18:34:15 +0000 |
commit | 9c15a959c319606df73901910293b5355bdfb893 (patch) | |
tree | 3f8e850127a9a6c7506edb951b57be0f35393538 /read.c | |
parent | 578d90ba92689152502756f0c3c40e1cde02f0a0 (diff) | |
download | mandoc-9c15a959c319606df73901910293b5355bdfb893.tar.gz |
Issue a STYLE message when normalizing the date format in .Dd/.TH.
Leah Neukirchen pointed out that mdoclint(1) used to warn about a
leading zero before the day number, so we know that both NetBSD and
Void Linux want the message. It does no harm on OpenBSD because
Mdocdate always does the right thing anyway.
jmc@ agrees that it makes sense in contexts not using Mdocdate.
Diffstat (limited to 'read.c')
-rw-r--r-- | read.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* $Id$ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> - * Copyright (c) 2010-2017 Ingo Schwarze <schwarze@openbsd.org> + * Copyright (c) 2010-2018 Ingo Schwarze <schwarze@openbsd.org> * Copyright (c) 2010, 2012 Joerg Sonnenberger <joerg@netbsd.org> * * Permission to use, copy, modify, and distribute this software for any @@ -94,6 +94,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { "generic style suggestion", "legacy man(7) date format", + "normalizing date format to", "lower case character in document title", "duplicate RCS id", "possible typo in section name", |