From 84c8daa11f4c656bb4ba50b6e1c6d3b34c0f1b39 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 21 Jul 2008 08:37:13 +0000 Subject: [PATCH] help text: test --help doesnt print it (by design), so do not account for it --- include/usage.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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" -- 2.25.1