aboutsummaryrefslogtreecommitdiffstats
path: root/doc/tools.texi
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2024-01-11 14:28:33 +0000
committerWerner Koch <[email protected]>2024-01-11 14:30:12 +0000
commite65720f286cc65b32eb559db2c1ce32ad0829155 (patch)
tree69c303213e49e84210070c2d82818c7b96b1327f /doc/tools.texi
parentgpg: Fix regression in the Revoker keyword of the parmeter file. (diff)
downloadgnupg-e65720f286cc65b32eb559db2c1ce32ad0829155.tar.gz
gnupg-e65720f286cc65b32eb559db2c1ce32ad0829155.zip
doc: Document the gpgconf --unlock command.
* tools/gpgconf.c (main): Fix usage message. -- GnuPG-bug-id: 6838
Diffstat (limited to 'doc/tools.texi')
-rw-r--r--doc/tools.texi13
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/tools.texi b/doc/tools.texi
index a1c161c3a..80ec7c6fe 100644
--- a/doc/tools.texi
+++ b/doc/tools.texi
@@ -387,12 +387,23 @@ daemons. Note that as of now reload and kill have the same effect for
Create a directory for sockets below /run/user or /var/run/user. This
is command is only required if a non default home directory is used
and the /run based sockets shall be used. For the default home
-directory GnUPG creates a directory on the fly.
+directory GnuPG creates a directory on the fly.
@item --remove-socketdir
@opindex remove-socketdir
Remove a directory created with command @option{--create-socketdir}.
+@item --unlock @var{name}
+@itemx --lock @var{name}
+Remove a stale lock file hold for @file{file}. The file is
+expected in the current GnuPG home directory. This command is usually
+not required because GnuPG is able to detect and remove stale lock
+files. Before using the command make sure that the file protected by
+the lock file is actually not in use. The lock command may be used to
+lock an accidently removed lock file. Note that the commands have no
+effect on Windows because the mere existence of a lock file does not
+mean that the lock is active.
+
@end table