mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-28 22:49:59 +01:00
gpgconf: Add command aliases -L -K -R.
* tools/gpgconf.c (enum cmd_and_opt_values): Assign shortcuts. -- I have to type them to often ;-)
This commit is contained in:
parent
96db487a4d
commit
f16c535eee
@ -300,6 +300,7 @@ Update all configuration files with values taken from the global
|
|||||||
configuration file (usually @file{/etc/gnupg/gpgconf.conf}).
|
configuration file (usually @file{/etc/gnupg/gpgconf.conf}).
|
||||||
|
|
||||||
@item --list-dirs [@var{names}]
|
@item --list-dirs [@var{names}]
|
||||||
|
@itemx -L
|
||||||
Lists the directories used by @command{gpgconf}. One directory is
|
Lists the directories used by @command{gpgconf}. One directory is
|
||||||
listed per line, and each line consists of a colon-separated list where
|
listed per line, and each line consists of a colon-separated list where
|
||||||
the first field names the directory type (for example @code{sysconfdir})
|
the first field names the directory type (for example @code{sysconfdir})
|
||||||
@ -333,8 +334,8 @@ force an update of that file this command can be used:
|
|||||||
gpg-connect-agent --dirmngr 'loadswdb --force' /bye
|
gpg-connect-agent --dirmngr 'loadswdb --force' /bye
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
|
|
||||||
@item --reload [@var{component}]
|
@item --reload [@var{component}]
|
||||||
|
@itemx -R
|
||||||
@opindex reload
|
@opindex reload
|
||||||
Reload all or the given component. This is basically the same as
|
Reload all or the given component. This is basically the same as
|
||||||
sending a SIGHUP to the component. Components which don't support
|
sending a SIGHUP to the component. Components which don't support
|
||||||
@ -351,6 +352,7 @@ may use this command to ensure that they are started. Using "all" for
|
|||||||
@var{component} launches all components which are daemons.
|
@var{component} launches all components which are daemons.
|
||||||
|
|
||||||
@item --kill [@var{component}]
|
@item --kill [@var{component}]
|
||||||
|
@itemx -K
|
||||||
@opindex kill
|
@opindex kill
|
||||||
Kill the given component that runs as a daemon, including
|
Kill the given component that runs as a daemon, including
|
||||||
@command{gpg-agent}, @command{dirmngr}, and @command{scdaemon}. A
|
@command{gpg-agent}, @command{dirmngr}, and @command{scdaemon}. A
|
||||||
|
@ -46,6 +46,10 @@ enum cmd_and_opt_values
|
|||||||
oRuntime = 'r',
|
oRuntime = 'r',
|
||||||
oComponent = 'c',
|
oComponent = 'c',
|
||||||
oNull = '0',
|
oNull = '0',
|
||||||
|
aListDirs = 'L',
|
||||||
|
aKill = 'K',
|
||||||
|
aReload = 'R',
|
||||||
|
|
||||||
oNoVerbose = 500,
|
oNoVerbose = 500,
|
||||||
oHomedir,
|
oHomedir,
|
||||||
oBuilddir,
|
oBuilddir,
|
||||||
@ -61,15 +65,12 @@ enum cmd_and_opt_values
|
|||||||
aListConfig,
|
aListConfig,
|
||||||
aCheckConfig,
|
aCheckConfig,
|
||||||
aQuerySWDB,
|
aQuerySWDB,
|
||||||
aListDirs,
|
|
||||||
aLaunch,
|
aLaunch,
|
||||||
aKill,
|
|
||||||
aCreateSocketDir,
|
aCreateSocketDir,
|
||||||
aRemoveSocketDir,
|
aRemoveSocketDir,
|
||||||
aApplyProfile,
|
aApplyProfile,
|
||||||
aReload,
|
aShowVersions,
|
||||||
aShowConfigs,
|
aShowConfigs
|
||||||
aShowVersions
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user