diff options
| author | Werner Koch <[email protected]> | 2017-08-04 15:03:03 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2017-08-04 15:03:03 +0000 |
| commit | d9fabcc1989d7235ea0294874803295a30f8711b (patch) | |
| tree | 4f4fc5dcc5ead6cdaa8f03c809eeff51346ad9b8 /g10/options.h | |
| parent | wks: Allow gpg-wks-client --supported with just the domain name (diff) | |
| download | gnupg-d9fabcc1989d7235ea0294874803295a30f8711b.tar.gz gnupg-d9fabcc1989d7235ea0294874803295a30f8711b.zip | |
gpg: New import option show-only.
* g10/options.h (IMPORT_DRY_RUN): New.
* g10/import.c (parse_import_options): Add "show-only".
(import_one): use that as alternative to opt.dry_run.
--
This is just a convenience thing for
--import-options import-show --dry-run
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/options.h')
| -rw-r--r-- | g10/options.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/options.h b/g10/options.h index 83f402853..8431f7525 100644 --- a/g10/options.h +++ b/g10/options.h @@ -352,6 +352,7 @@ EXTERN_UNLESS_MAIN_MODULE int memory_stat_debug_mode; #define IMPORT_EXPORT (1<<9) #define IMPORT_RESTORE (1<<10) #define IMPORT_REPAIR_KEYS (1<<11) +#define IMPORT_DRY_RUN (1<<12) #define EXPORT_LOCAL_SIGS (1<<0) #define EXPORT_ATTRIBUTES (1<<1) |
