gpgconf: Allow "all" for --launch, --kill, and --reload.
authorWerner Koch <wk@gnupg.org>
Wed, 18 Jan 2017 09:01:55 +0000 (10:01 +0100)
committerWerner Koch <wk@gnupg.org>
Wed, 18 Jan 2017 09:07:53 +0000 (10:07 +0100)
commit2312248b2e3adffa52d8a3ac4f24fe2c88f0f569
treef9c92f7333c1c7a6d7ac5fd445a62a9a6e218a08
parent701f54eccf3da3319dd6d74f46b852c64d90bc52
gpgconf: Allow "all" for --launch, --kill, and --reload.

* tools/gpgconf-comp.c (gc_component_launch): Allow -1 for COMPONENT.
(gc_component_kill): Ditto.
(gc_component_reload): For robustness change the condition to < 0.
* tools/gpgconf.c (main) <aLaunch, aKill, aReload>: Support argument
"all".

Signed-off-by: Werner Koch <wk@gnupg.org>
doc/tools.texi
tools/gpgconf-comp.c
tools/gpgconf.c