Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | argmatch: put all the docs member last. | Akim Demaille | 2019-06-22 | 1 | -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 message | Akim Demaille | 2019-06-21 | 1 | -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. |