summaryrefslogtreecommitdiffstats
path: root/tools/gpgconf.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2022-01-12 20:26:19 +0100
committerWerner Koch <wk@gnupg.org>2022-01-12 20:27:14 +0100
commitec4a1cffb865a724f36fbf9ad2de984d003fd650 (patch)
treec2d689d6723757d973c9f2738bc15a21f635a264 /tools/gpgconf.c
parentgpg: Fix adding the list of ultimate trusted keys. (diff)
downloadgnupg2-ec4a1cffb865a724f36fbf9ad2de984d003fd650.tar.xz
gnupg2-ec4a1cffb865a724f36fbf9ad2de984d003fd650.zip
gpgconf: Add command aliases -L -K -R.
* tools/gpgconf.c (enum cmd_and_opt_values): Assign shortcuts. -- I have to type them to often ;-)
Diffstat (limited to 'tools/gpgconf.c')
-rw-r--r--tools/gpgconf.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/gpgconf.c b/tools/gpgconf.c
index 093468eb3..4b9548d50 100644
--- a/tools/gpgconf.c
+++ b/tools/gpgconf.c
@@ -50,6 +50,10 @@ enum cmd_and_opt_values
oRuntime = 'r',
oComponent = 'c',
oNull = '0',
+ aListDirs = 'L',
+ aKill = 'K',
+ aReload = 'R',
+
oNoVerbose = 500,
oHomedir,
oBuilddir,
@@ -66,13 +70,10 @@ enum cmd_and_opt_values
aListConfig,
aCheckConfig,
aQuerySWDB,
- aListDirs,
aLaunch,
- aKill,
aCreateSocketDir,
aRemoveSocketDir,
aApplyProfile,
- aReload,
aShowVersions,
aShowConfigs,
aShowCodepages