From adfc479d47cb0323b4dd4fa93ed9a5df6a93b7b8 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 28 Aug 2007 18:41:41 +0200 Subject: * src/test.c (usage): Say that [ honors --help and --version, but test does not. --- src/test.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/test.c b/src/test.c index c307565ce..c0d89387d 100644 --- a/src/test.c +++ b/src/test.c @@ -2,7 +2,7 @@ /* Modified to run with the GNU shell by bfox. */ -/* Copyright (C) 1987-2005 Free Software Foundation, Inc. +/* Copyright (C) 1987-2005, 2007 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -769,6 +769,11 @@ EXPRESSION is true or false and sets exit status. It is one of:\n\ Except for -h and -L, all FILE-related tests dereference symbolic links.\n\ Beware that parentheses need to be escaped (e.g., by backslashes) for shells.\n\ INTEGER may also be -l STRING, which evaluates to the length of STRING.\n\ +"), stdout); + fputs (_("\ +\n\ +NOTE: [ honors the --help and --version options, but test does not.\n\ +test treats each of those as it treats any other nonempty STRING.\n\ "), stdout); printf (USAGE_BUILTIN_WARNING, _("test and/or [")); emit_bug_reporting_address (); -- cgit v1.2.3-54-g00ecf