[PATCH] support: Document the correct macro name for (CMDLINE_OPTIONS)
Vivien Kraus
vivien@planete-kraus.eu
Tue Feb 3 17:51:51 GMT 2026
---
Hello,
I stumbled upon that in my work for getopt_long translations, and I
was told it would better be separate, so I am sending it separately.
Best regards,
Vivien
support/test-driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/support/test-driver.c b/support/test-driver.c
index 1455584667..d2beb44373 100644
--- a/support/test-driver.c
+++ b/support/test-driver.c
@@ -84,7 +84,7 @@
mallopt.
Custom command line handling can be implemented by defining the
- CMDLINE_OPTION macro (after including the <getopt.h> header; this
+ CMDLINE_OPTIONS macro (after including the <getopt.h> header; this
requires _GNU_SOURCE to be defined). This macro must expand to a
to a comma-separated list of braced initializers for struct option
from <getopt.h>, with a trailing comma. CMDLINE_PROCESS can be
--
2.34.1
More information about the Libc-alpha
mailing list