help text: test --help doesnt print it (by design),
authorDenis Vlasenko <vda.linux@googlemail.com>
Mon, 21 Jul 2008 08:37:13 +0000 (08:37 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Mon, 21 Jul 2008 08:37:13 +0000 (08:37 -0000)
 so do not account for it

include/usage.h

index 61c5c8ee3a0059ff740f6a8aea9427f7169a1c23..dbee32eb2cbb46c0998b897f9a0f8e9cda3f4c45 100644 (file)
      "\n       -i              Run as inetd subservice" \
        )
 
+/* "test --help" does not print help (POSIX compat), only "[ --help" does.
+ * We display "<applet> EXPRESSION ]" here (not "<applet> EXPRESSION") */
 #define test_trivial_usage \
-       "EXPRESSION\n" \
-       "  or   [ EXPRESSION ]"
+       "EXPRESSION ]"
 #define test_full_usage "\n\n" \
        "Check file types and compares values returning an exit code\n" \
        "determined by the value of EXPRESSION"