diff options
author | Werner Koch <[email protected]> | 2016-08-04 11:02:37 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-08-04 11:02:37 +0000 |
commit | db6f3eb926619dfe6ed2a9be197c51f9a1b6198c (patch) | |
tree | 14ea10d303ae21834a8651a480ce59e20b0de88a /tools/gpgconf.h | |
parent | tests: Update list of tests in Scheme test runner. (diff) | |
download | gnupg-db6f3eb926619dfe6ed2a9be197c51f9a1b6198c.tar.gz gnupg-db6f3eb926619dfe6ed2a9be197c51f9a1b6198c.zip |
gpgconf: Add limited support for -0.
* tools/gpgconf.h (opt): Add field 'null'.
* tools/gpgconf.c: Add option --null/-0.
(list_dirs): Use it here.
--
This option changes the delimites for --list-dir with arguments from
LF to Nul.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'tools/gpgconf.h')
-rw-r--r-- | tools/gpgconf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gpgconf.h b/tools/gpgconf.h index d63833dd9..a1e382819 100644 --- a/tools/gpgconf.h +++ b/tools/gpgconf.h @@ -29,6 +29,7 @@ struct int quiet; /* Be extra quiet. */ int dry_run; /* Don't change any persistent data. */ int runtime; /* Make changes active at runtime. */ + int null; /* Option -0 active. */ char *outfile; /* Name of output file. */ int component; /* The active component. */ |