summaryrefslogtreecommitdiff
path: root/man/man1/man.man1
diff options
context:
space:
mode:
authorColin Watson <cjwatson@chiark.greenend.org.uk>2023-08-06 20:09:25 +0000
committerColin Watson <cjwatson@chiark.greenend.org.uk>2023-08-06 20:09:25 +0000
commit65b2b9acf676e68e1998e00036f2cb3262f42cd5 (patch)
tree9c6f75bdd7b1844c50cf2e56b7a86bea9af11cce /man/man1/man.man1
parentc0cf547e8f0b18ea6777ad46e6491aafd9f237b4 (diff)
man: Allow disabling warnings enabled by default in groff
Diffstat (limited to 'man/man1/man.man1')
-rw-r--r--man/man1/man.man16
1 files changed, 6 insertions, 0 deletions
diff --git a/man/man1/man.man1 b/man/man1/man.man1
index cf27f0fb..6319ab9f 100644
--- a/man/man1/man.man1
+++ b/man/man1/man.man1
@@ -436,6 +436,12 @@ pages.
.I warnings
is a comma-separated list of warning names; if it is not supplied, the
default is "mac".
+To disable a
+.I groff
+warning, prefix it with "!": for example,
+.B \-\-warnings=mac,!break
+enables warnings in the "mac" category and disables warnings in the "break"
+category.
See the \(lqWarnings\(rq node in
.B info groff
for a list of available warning names.