common: Add feature to ease using argparse's usage().
authorWerner Koch <wk@gnupg.org>
Tue, 17 Mar 2015 10:22:28 +0000 (11:22 +0100)
committerWerner Koch <wk@gnupg.org>
Tue, 17 Mar 2015 10:22:28 +0000 (11:22 +0100)
commit9078b75a73600fc6b7b5502ceee8de032bb9c446
treee4d59397edfc00c777228b026ec33875b0287b6c
parenteb5f2c0af6691229300ac120ee44815cb27ed38e
common: Add feature to ease using argparse's usage().

* common/argparse.c (show_help): Take care of flag value
(usage): Ditto.
--

It is common that the long usage note starts with the short usage
note.  The new flag feature allows to combine both.

Signed-off-by: Werner Koch <wk@gnupg.org>
common/argparse.c