aboutsummaryrefslogtreecommitdiffstats
path: root/tools/wks-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/wks-util.c')
-rw-r--r--tools/wks-util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/wks-util.c b/tools/wks-util.c
index 49dbb6f8a..4a15d672a 100644
--- a/tools/wks-util.c
+++ b/tools/wks-util.c
@@ -246,7 +246,8 @@ wks_get_key (estream_t *r_key, const char *fingerprint, const char *addrspec,
ccparray_put (&ccp, "--always-trust");
if (!binary)
ccparray_put (&ccp, "--armor");
- ccparray_put (&ccp, "--export-options=export-clean");
+ ccparray_put (&ccp, opt.realclean? "--export-options=export-realclean"
+ /* */ : "--export-options=export-clean");
ccparray_put (&ccp, "--export-filter");
ccparray_put (&ccp, filterexp);
ccparray_put (&ccp, "--export");