1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

* 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.
This commit is contained in:
David Shaw 2003-12-28 03:46:43 +00:00
parent 7847eae02c
commit 392e6da660
7 changed files with 35 additions and 20 deletions

View file

@ -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);
}
/****************