mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
gpgtar: Read common.conf for the log-file option.
* common/util.h (GNUPG_MODULE_NAME_GPGTAR): New. * common/homedir.c (gnupg_module_name): Add it. * tools/gpgtar.c: Include comopt.h. (enum cmd_and_opt_values): Add oDebug. (opts): Add --debug. (any_debug): New. (main): Parse common.conf. -- Having a way to see the output of gpgtar is often useful for debugging. The only effect of the debug option is to show whether common.conf was read.
This commit is contained in:
parent
2c12970550
commit
ba67fea5b9
3 changed files with 21 additions and 1 deletions
|
@ -298,6 +298,7 @@ char *_gnupg_socketdir_internal (int skip_checks, unsigned *r_info);
|
|||
#define GNUPG_MODULE_NAME_KEYBOXD 13
|
||||
#define GNUPG_MODULE_NAME_TPM2DAEMON 14
|
||||
#define GNUPG_MODULE_NAME_CARD 15
|
||||
#define GNUPG_MODULE_NAME_GPGTAR 16
|
||||
const char *gnupg_module_name (int which);
|
||||
void gnupg_module_name_flush_some (void);
|
||||
void gnupg_set_builddir (const char *newdir);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue