Home GnuPG
Diffusion GnuPG 9078b75a7360

common: Add feature to ease using argparse's usage().
9078b75a7360Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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>

Details

Provenance
wernerAuthored on Mar 17 2015, 11:22 AM
Parents
rGeb5f2c0af669: common: Allow standalone build of argparse.c
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG9078b75a7360: common: Add feature to ease using argparse's usage(). (authored by Werner Koch <wk@gnupg.org>).Mar 17 2015, 11:22 AM