From: Denis Vlasenko Date: Mon, 21 Jul 2008 08:37:13 +0000 (-0000) Subject: help text: test --help doesnt print it (by design), X-Git-Tag: 1_12_0~134 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=84c8daa11f4c656bb4ba50b6e1c6d3b34c0f1b39;p=oweals%2Fbusybox.git help text: test --help doesnt print it (by design), so do not account for it --- diff --git a/include/usage.h b/include/usage.h index 61c5c8ee3..dbee32eb2 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 " EXPRESSION ]" here (not " 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"