From: Paul Eggert Date: Thu, 9 Sep 2004 03:53:54 +0000 (+0000) Subject: (usage): Document "test" (with no args) and "[ ]". X-Git-Tag: v5.3.0~715 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47358fd2de1676be429948aec0c93fb487986cfe;p=thirdparty%2Fcoreutils.git (usage): Document "test" (with no args) and "[ ]". --- diff --git a/src/test.c b/src/test.c index fd7d7e8325..49f7f23898 100644 --- a/src/test.c +++ b/src/test.c @@ -834,7 +834,9 @@ usage (int status) { fputs (_("\ Usage: test EXPRESSION\n\ + or: test\n\ or: [ EXPRESSION ]\n\ + or: [ ]\n\ or: [ OPTION\n\ Exit with the status determined by EXPRESSION.\n\ \n\ @@ -843,6 +845,7 @@ Exit with the status determined by EXPRESSION.\n\ fputs (VERSION_OPTION_DESCRIPTION, stdout); fputs (_("\ \n\ +An omitted EXPRESSION defaults to false. Otherwise,\n\ EXPRESSION is true or false and sets exit status. It is one of:\n\ "), stdout); fputs (_("\