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/export.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/export.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/g10/export.c b/g10/export.c index d98257144..c8a2be8ed 100644 --- a/g10/export.c +++ b/g10/export.c @@ -1,5 +1,6 @@ /* export.c - * Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. + * Copyright (C) 1998, 1999, 2000, 2001, 2002 + * 2003 Free Software Foundation, Inc. * * This file is part of GnuPG. * @@ -40,7 +41,7 @@ static int do_export_stream( IOBUF out, STRLIST users, int secret, int *any ); int -parse_export_options(char *str,unsigned int *options) +parse_export_options(char *str,unsigned int *options,int noisy) { struct parse_options export_opts[]= { @@ -52,7 +53,7 @@ parse_export_options(char *str,unsigned int *options) /* add tags for include revoked and disabled? */ }; - return parse_options(str,options,export_opts); + return parse_options(str,options,export_opts,noisy); } /**************** |