gpgconf: Add limited support for -0.
authorWerner Koch <wk@gnupg.org>
Thu, 4 Aug 2016 11:02:37 +0000 (13:02 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 4 Aug 2016 11:02:37 +0000 (13:02 +0200)
commitdb6f3eb926619dfe6ed2a9be197c51f9a1b6198c
tree14ea10d303ae21834a8651a480ce59e20b0de88a
parent05cb30052cdf1d308ff7da901cfa5a809cd49479
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 <wk@gnupg.org>
tools/gpgconf.c
tools/gpgconf.h