aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpg.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2025-10-27 11:43:27 +0000
committerWerner Koch <[email protected]>2025-10-27 11:43:27 +0000
commitad0c6c33c3d6fe7ff7cc8c2e73d02ead5788e5b3 (patch)
tree8c2692e19486d7ceab3261a660725ea2a235d4e8 /g10/gpg.c
parentgpg: Improve/relax the checking of preference options. (diff)
downloadgnupg-ad0c6c33c3d6fe7ff7cc8c2e73d02ead5788e5b3.tar.gz
gnupg-ad0c6c33c3d6fe7ff7cc8c2e73d02ead5788e5b3.zip
gpg: Do not use a default when asking for another output filename.
* g10/options.h (COMPAT_SUGGEST_EMBEDDED_NAME): New. * g10/gpg.c (compatibility_flags): New flags "suggest-embedded-name". * g10/openfile.c (ask_outfile_name): Do not show a default unless the compatibiliy flag is used.
Diffstat (limited to 'g10/gpg.c')
-rw-r--r--g10/gpg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index da14747d3..99fe5b844 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -1064,6 +1064,7 @@ static struct compatibility_flags_s compatibility_flags [] =
{ COMPAT_T7014_OLD, "t7014-old" },
{ COMPAT_COMPR_KEYS, "compr-keys" },
{ COMPAT_NO_MANU, "no-manu" },
+ { COMPAT_SUGGEST_EMBEDDED_NAME, "suggest-embedded-name" },
{ 0, NULL }
};