projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
395410b
)
help text: test --help doesnt print it (by design),
author
Denis Vlasenko
<vda.linux@googlemail.com>
Mon, 21 Jul 2008 08:37:13 +0000
(08:37 -0000)
committer
Denis 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
patch
|
blob
|
history
diff --git
a/include/usage.h
b/include/usage.h
index 61c5c8ee3a0059ff740f6a8aea9427f7169a1c23..dbee32eb2cbb46c0998b897f9a0f8e9cda3f4c45 100644
(file)
--- 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"