selftests/futex: issue with -g option help text
Hi,
I found some text that contains a spelling mistake, however I can't parse the message either, so I'm reporting this as a minor issue that needs some attention.
The issue is found in commit:
commit cda95faef7bcf26ba3f54c3cddce66d50116d146
Author: Sebastian Andrzej Siewior <[email protected]> Date: Wed Apr 16 18:29:20 2025 +0200
selftests/futex: Add futex_priv_hash
Namely:
static void usage(char *prog)
{
printf("Usage: %s\n", prog);
printf(" -c Use color\n");
printf(" -g Test global hash instead intead local immutable
\n");
printf(" -h Display this help message\n");
printf(" -v L Verbosity level: %d=QUIET %d=CRITICAL %d=INFO\n",
VQUIET, VCRITICAL, VINFO);
}there word "intead" for the -g option should be removed, but I'm also finding the resulting text hard to parse, perhaps it needs to be rephrased?
Colin
Quoted 1 line · Colin King (gmail)
Hi,
Hi,
Quoted 14 lines
Namely:
static void
usage(char *prog){ printf("Usage: %s\n", prog); printf(" -c Use color\n"); printf(" -g Test global hash instead intead local immutable \n"); printf(" -h Display this help message\n"); printf(" -v L Verbosity level: %d=QUIET %d=CRITICAL %d=INFO\n", VQUIET, VCRITICAL, VINFO); }
Quoted 2 lines
there word "intead" for the -g option should be removed, but I'm also finding the resulting text hard to parse, perhaps it needs to be rephrased?
Test global hash instead instead private hash
?
Quoted 1 line
Colin
Sebastian
Hi,
Quoted 18 lines · Sebastian Andrzej Siewior
Quoted 1 line · Colin King (gmail)
Hi,
Hi,
Quoted 14 lines
Namely:
static void
usage(char *prog){ printf("Usage: %s\n", prog); printf(" -c Use color\n"); printf(" -g Test global hash instead intead local immutable \n"); printf(" -h Display this help message\n"); printf(" -v L Verbosity level: %d=QUIET %d=CRITICAL %d=INFO\n", VQUIET, VCRITICAL, VINFO); }
Quoted 4 lines
Quoted 2 lines
there word "intead" for the -g option should be removed, but I'm also finding the resulting text hard to parse, perhaps it needs to be rephrased?
Test global hash instead instead private hash
Surely:
Test global hash instead of private hash
Quoted 6 lines
?
Quoted 1 line
Colin
Sebastian
Quoted 1 line · Colin King (gmail)
Hi,
Hi,
Quoted 5 lines
Quoted 2 lines
Test global hash instead instead private hash
Surely:
Test global hash instead of private hash
Thanks.
There must be an issue with my keyboard.
Quoted 4 lines
Quoted 4 lines
?
Quoted 1 line
Colin
Sebastian