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.
[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
else
{
printf (_("\
-Usage: %s [OPTION]... [-T] TARGET LINK_NAME (1st form)\n\
- or: %s [OPTION]... TARGET (2nd form)\n\
- or: %s [OPTION]... TARGET... DIRECTORY (3rd form)\n\
- or: %s [OPTION]... -t DIRECTORY TARGET... (4th form)\n\
+Usage: %s [OPTION]... [-T] TARGET LINK_NAME\n\
+ or: %s [OPTION]... TARGET\n\
+ or: %s [OPTION]... TARGET... DIRECTORY\n\
+ or: %s [OPTION]... -t DIRECTORY TARGET...\n\
"),
program_name, program_name, program_name, program_name);
fputs (_("\