(usage): Put the description of `[-n] STRING'
authorJim Meyering <jim@meyering.net>
Sun, 14 Nov 2004 08:56:53 +0000 (08:56 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 14 Nov 2004 08:56:53 +0000 (08:56 +0000)
on two lines, one for `-n STRING' and one for `STRING' so that
help2man properly escapes the `-'.  Otherwise, the hyphen is
rendered inappropriately in UTF-8 locales.

src/test.c

index 9d55631..386e17d 100644 (file)
@@ -857,7 +857,8 @@ EXPRESSION is true or false and sets exit status.  It is one of:\n\
 "), stdout);
       fputs (_("\
 \n\
-  [-n] STRING          the length of STRING is nonzero\n\
+  -n STRING            the length of STRING is nonzero\n\
+  STRING               equivalent to -n STRING\n\
   -z STRING            the length of STRING is zero\n\
   STRING1 = STRING2    the strings are equal\n\
   STRING1 != STRING2   the strings are not equal\n\