summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko2008-07-21 08:37:13 +0000
committerDenis Vlasenko2008-07-21 08:37:13 +0000
commit84c8daa11f4c656bb4ba50b6e1c6d3b34c0f1b39 (patch)
tree22d4b9ad41299352a8f6e3e5ec80bf590df302d1
parent395410b748e0ca0a673da4d288cbf89f6cff3c93 (diff)
downloadbusybox-84c8daa11f4c656bb4ba50b6e1c6d3b34c0f1b39.zip
busybox-84c8daa11f4c656bb4ba50b6e1c6d3b34c0f1b39.tar.gz
help text: test --help doesnt print it (by design),
so do not account for it
-rw-r--r--include/usage.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h
index 61c5c8e..dbee32e 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -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"