Argp: fix recognition of short alias options.
authorSergey Poznyakoff <gray@gnu.org.ua>
Fri, 5 Feb 2010 11:33:15 +0000 (13:33 +0200)
committerSergey Poznyakoff <gray@gnu.org.ua>
Fri, 5 Feb 2010 11:35:02 +0000 (13:35 +0200)
commit11fbc57405a118e6ec9a3ebc19bbf5ececdae4d6
tree96170a75448163566de5044c2a107bf1cf118196
parent6b2ebc2a29a08c189e688179b04345e35d95af4f
Argp: fix recognition of short alias options.

* lib/argp-parse.c (convert_options): Fix improper use of
`|' between character values.
* tests/test-argp.c (group1_option): New alias option
--read (-r).
(group1_parser): Special handling for 'r'.
(test15): New test case.
(test_fun): Add test15.
* tests/test-argp-2.sh: Update expected --help and --usage
outputs.
ChangeLog
lib/argp-parse.c
tests/test-argp-2.sh
tests/test-argp.c