svn commit: trunk/busybox/include
vda at busybox.net
vda at busybox.net
Mon Jul 21 08:37:14 UTC 2008
Author: vda
Date: 2008-07-21 01:37:13 -0700 (Mon, 21 Jul 2008)
New Revision: 22895
Log:
help text: test --help doesnt print it (by design),
so do not account for it
Modified:
trunk/busybox/include/usage.h
Changeset:
Modified: trunk/busybox/include/usage.h
===================================================================
--- trunk/busybox/include/usage.h 2008-07-20 23:25:32 UTC (rev 22894)
+++ trunk/busybox/include/usage.h 2008-07-21 08:37:13 UTC (rev 22895)
@@ -4042,9 +4042,10 @@
"\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"
More information about the busybox-cvs
mailing list