mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-21 14:47:03 +01:00
2004-03-23 Marcus Brinkmann <marcus@g10code.de>
* gpg-agent.c (main): For now, always print the default config file name for --gpgconf-list.
This commit is contained in:
parent
d714e81e58
commit
6c80bd0b49
@ -1,3 +1,8 @@
|
|||||||
|
2004-03-23 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
|
* gpg-agent.c (main): For now, always print the default config
|
||||||
|
file name for --gpgconf-list.
|
||||||
|
|
||||||
2004-03-17 Werner Koch <wk@gnupg.org>
|
2004-03-17 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
* gpg-agent.c (main) <gpgconf>: Fixed default value quoting.
|
* gpg-agent.c (main) <gpgconf>: Fixed default value quoting.
|
||||||
|
@ -587,7 +587,10 @@ main (int argc, char **argv )
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (gpgconf_list)
|
if (gpgconf_list)
|
||||||
{ /* List options and default values in the GPG Conf format. */
|
{
|
||||||
|
char *filename;
|
||||||
|
|
||||||
|
/* List options and default values in the GPG Conf format. */
|
||||||
|
|
||||||
/* The following list is taken from gnupg/tools/gpgconf-comp.c. */
|
/* The following list is taken from gnupg/tools/gpgconf-comp.c. */
|
||||||
/* Option flags. YOU MUST NOT CHANGE THE NUMBERS OF THE EXISTING
|
/* Option flags. YOU MUST NOT CHANGE THE NUMBERS OF THE EXISTING
|
||||||
@ -606,9 +609,10 @@ main (int argc, char **argv )
|
|||||||
a default, which is described by the value of the ARGDEF field. */
|
a default, which is described by the value of the ARGDEF field. */
|
||||||
#define GC_OPT_FLAG_NO_ARG_DESC (1UL << 6)
|
#define GC_OPT_FLAG_NO_ARG_DESC (1UL << 6)
|
||||||
|
|
||||||
|
filename = make_filename (opt.homedir, "gpg-agent.conf", NULL );
|
||||||
printf ("gpgconf-gpg-agent.conf:%lu:\"%s\n",
|
printf ("gpgconf-gpg-agent.conf:%lu:\"%s\n",
|
||||||
GC_OPT_FLAG_DEFAULT,
|
GC_OPT_FLAG_DEFAULT, filename);
|
||||||
config_filename?config_filename:"/dev/null");
|
xfree (filename);
|
||||||
|
|
||||||
printf ("verbose:%lu:\n"
|
printf ("verbose:%lu:\n"
|
||||||
"quiet:%lu:\n"
|
"quiet:%lu:\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user