summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-06-13 16:00:45 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2018-06-13 16:01:14 -0700
commitde73c801f34438c1457118f33e26e688554019d3 (patch)
tree5ede102e0bb93d7422ac74553a0226ee91904200 /man
parent5e7b8928b76e6d661a6babd884dc812348255f59 (diff)
downloadcoreutils-de73c801f34438c1457118f33e26e688554019d3.tar.gz
doc: port man pages to doclifter
Problem reported by Eric S. Raymond (Bug#31803). * man/test.x: Add SYNOPSIS section, since help2man understandably gets confused by the square brackets. * src/ln.c (usage): Omit parenthetical "(Nth form)" in usage, as it confuses doclifter.
Diffstat (limited to 'man')
-rw-r--r--man/test.x15
1 files changed, 15 insertions, 0 deletions
diff --git a/man/test.x b/man/test.x
index 8d5bcff52..a7aaf2c82 100644
--- a/man/test.x
+++ b/man/test.x
@@ -1,4 +1,19 @@
[NAME]
test \- check file types and compare values
+[SYNOPSIS]
+.B test
+.I EXPRESSION
+.br
+.B test
+.br
+.\" Quote the square brackets to help doclifter (Bug#31803).
+.B "["
+.I EXPRESSION
+.B "]"
+.br
+.B "[ ]"
+.br
+.B "["
+.I OPTION
[DESCRIPTION]
.\" Add any additional description here