]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
test: adjust -g description in --help
authorMax Downey Twiss <creatorsmithmdt@gmail.com>
Thu, 30 Apr 2026 12:27:01 +0000 (22:27 +1000)
committerPádraig Brady <P@draigBrady.com>
Thu, 30 Apr 2026 13:51:23 +0000 (14:51 +0100)
This matches the manual, as well as the -u option,
and should help reduce confusion.

* src/test.c (usage): Fix -g documentation to match the structure of -u

src/test.c

index 088172ed33ef884a5537d007f3995b7cb1925665..ab7f249929353e58e55e7b7fcb7f5a4b7aba0d8f 100644 (file)
@@ -759,7 +759,7 @@ EXPRESSION is true or false and sets exit status.  It is one of:\n\
   -f FILE     FILE exists and is a regular file\n\
 "));
       oputs (_("\
-  -g FILE     FILE exists and is set-group-ID\n\
+  -g FILE     FILE exists and its set-group-ID bit is set\n\
 "));
       oputs (_("\
   -G FILE     FILE exists and is owned by the effective group ID\n\