From 5d00a2ec62270ded0438b5641a97b9ea0a1cd159 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Tue, 30 Apr 2019 08:01:14 +0200 Subject: argmatch: add support to generate the usage message * lib/argmatch.c: Move some #includes and gettext support to... * lib/argmatch.h: here. (ARGMATCH_DEFINE_GROUP): New macro. * tests/test-argmatch.c (argmatch_backup_docs, argmatch_backup_args) (argmatch_backup_group): New. (CHECK): New. (main): Check argmatch_backup_value, argmatch_backup_xvalue, argmatch_backup_argument and argmatch_backup_usage. * modules/argmatch: We depend on c99. * doc/argmatch.texi (Recognizing Option Arguments): New. * doc/gnulib.texi: Use it. --- doc/gnulib.texi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/gnulib.texi') diff --git a/doc/gnulib.texi b/doc/gnulib.texi index 2ea18ad884..067e6045c0 100644 --- a/doc/gnulib.texi +++ b/doc/gnulib.texi @@ -6636,6 +6636,7 @@ to POSIX that it can be treated like any other Unix-like platform. * Closed standard fds:: * Container data types:: * String Functions in C Locale:: +* Recognizing Option Arguments:: * Quoting:: * progname and getprogname:: * gcd:: @@ -6674,6 +6675,8 @@ to POSIX that it can be treated like any other Unix-like platform. @include c-locale.texi +@include argmatch.texi + @include quote.texi @include progname.texi -- cgit v1.2.1