]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
* src/test.c (usage): Say that [ honors --help and --version, but test does not.
authorJim Meyering <jim@meyering.net>
Tue, 28 Aug 2007 16:41:41 +0000 (18:41 +0200)
committerJim Meyering <jim@meyering.net>
Tue, 28 Aug 2007 16:42:45 +0000 (18:42 +0200)
ChangeLog
src/test.c

index d2da407daf0a3392600c24928ac2a9776c7cdc62..80d08a1d163597704cfd2823d5350ae8afc376db 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2007-08-28  Jim Meyering  <jim@meyering.net>
 
+       * src/test.c (usage): Note that [ honors --help and --version,
+       but that test does not.  Suggestion from Dan Jacobson.
+
        By default, do not install hostname anymore; no kidding, this time.
        * src/Makefile.am (EXTRA_PROGRAMS): Remove hostname from this list,
        now that it's no longer being installed by default.  This should
index c307565cebf66e1f5ea41227289186f572ff068f..c0d89387d48e2a47e8b22a81ae199b68e932e29f 100644 (file)
@@ -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 ();