diff options
author | David Shaw <[email protected]> | 2003-12-28 03:46:43 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2003-12-28 03:46:43 +0000 |
commit | 392e6da660d4deb1da06bfdeb569071e432eec33 (patch) | |
tree | 4318d912de49365612d60122a2b99535cb3d3cdc /g10/import.c | |
parent | * build-packet.c (write_fake_data, do_secret_key), seckey-cert.c (diff) | |
download | gnupg-392e6da660d4deb1da06bfdeb569071e432eec33.tar.gz gnupg-392e6da660d4deb1da06bfdeb569071e432eec33.zip |
* main.h, misc.c (parse_options): Add a "noisy" flag to enable and disable
the messages about which option didn't match or matched ambiguously.
Change all callers (g10.c, keyserver.c).
* main.h, import.c (import_options), export.c (export_options): Pass the
noisy flag through.
Diffstat (limited to '')
-rw-r--r-- | g10/import.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/g10/import.c b/g10/import.c index d13357b6a..b06e52f20 100644 --- a/g10/import.c +++ b/g10/import.c @@ -1,6 +1,6 @@ /* import.c - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 - * Free Software Foundation, Inc. + * Copyright (C) 1998, 1999, 2000, 2001, 2002, + * 2003 Free Software Foundation, Inc. * * This file is part of GnuPG. * @@ -84,7 +84,7 @@ static int merge_keysigs( KBNODE dst, KBNODE src, int *n_sigs, const char *fname, u32 *keyid ); int -parse_import_options(char *str,unsigned int *options) +parse_import_options(char *str,unsigned int *options,int noisy) { struct parse_options import_opts[]= { @@ -96,7 +96,7 @@ parse_import_options(char *str,unsigned int *options) {NULL,0} }; - return parse_options(str,options,import_opts); + return parse_options(str,options,import_opts,noisy); } void * |