summaryrefslogtreecommitdiff
path: root/doc/argmatch.texi
Commit message (Collapse)AuthorAgeFilesLines
* argmatch: put all the docs member last.Akim Demaille2019-06-221-1/+1
| | | | | | | Reported by Bruno Haible. * lib/argmatch.h (argmatch_##Name##_group_type): Put the args member before the docs done. * doc/argmatch.texi, tests/test-argmatch.c: Adjust.
* argmatch: add support to generate the usage messageAkim Demaille2019-06-211-0/+137
* 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.