On 30/04/2026 13:27, Max Downey Twiss wrote:
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 | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test.c b/src/test.c
index 088172ed3..ab7f24992 100644
--- a/src/test.c
+++ b/src/test.c
@@ -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\

Applied.

thanks,
Padraig

Reply via email to