aboutsummaryrefslogtreecommitdiffstats
path: root/common/argparse.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-03-27Print warning for arguments not considered an option.Werner Koch1-0/+2
GnuPG requires that options are given before other arguments. This can sometimes be confusing. We now print a warning if we found an argument looking alike a long option without being preceded by the stop option. This is bug#1343. * common/argparse.h (ARGPARSE_FLAG_STOP_SEEN): New. * common/argparse.c (arg_parse): Set new flag. * g10/gpg.c (main): Print the warning. * agent/gpg-agent.c (main): Ditto. * dirmngr/dirmngr.c (main): Ditto. * g13/g13.c (main): Ditto. * scd/scdaemon.c (main): Ditto. * sm/gpgsm.c (main): Ditto. * tools/gpg-connect-agent.c (main): Ditto. * tools/gpgconf.c (main): Ditto.
2011-09-30Change JNLIB license to LGPLv3+ or GPLv2+.Werner Koch1-7/+18
This is to allow the use of this code with code under GPLv2(only).
2011-02-04Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch1-4/+4
We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again.
2010-05-30Print --version etc via estreamWerner Koch1-0/+1
2010-03-10Merged jnlib into common.Werner Koch1-0/+0
2008-11-12Made arg_parse more readable.Werner Koch1-29/+133
2008-09-29Remove hacks which are not anymore needed since we now require Libgcrypt 1.4Werner Koch1-0/+13
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2006-10-02Fix for bug 537Werner Koch1-14/+14
2006-06-20Updated FSF's address.Werner Koch1-1/+2
2003-01-09Updated from NewPGWerner Koch1-0/+67
2002-06-29Removed files for CVS reorganizationDavid Shaw1-64/+0
2000-01-24Add files to new directory.Werner Koch1-0/+64
This is mainly stuff moved from ../util to here.