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:
parent
7847eae02c
commit
392e6da660
7 changed files with 35 additions and 20 deletions
|
@ -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 *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue