aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2024-04-02 10:21:52 +0200
committerPatrick Spek <p.spek@tyil.nl>2024-04-02 10:21:52 +0200
commit63b3bf82632d0477e1ec8e462298652758e8b5f0 (patch)
treeb33751757066f53251ceb3c897a99955a223f998 /share
parentd5b25eca084760a0b67e2246a6131bd07103fb1c (diff)
Document the new zap subcommand in the manpage
Diffstat (limited to 'share')
-rw-r--r--share/doc/bashtard.1.scd10
1 files changed, 9 insertions, 1 deletions
diff --git a/share/doc/bashtard.1.scd b/share/doc/bashtard.1.scd
index 8f6e4b4..1a681e0 100644
--- a/share/doc/bashtard.1.scd
+++ b/share/doc/bashtard.1.scd
@@ -1,6 +1,6 @@
bashtard(1)
-; SPDX-FileCopyrightText: 2023 Patrick Spek <p.spek@tyil.nl>
+; SPDX-FileCopyrightText: 2024 Patrick Spek <p.spek@tyil.nl>
; SPDX-License-Identifier: AGPL-3.0-or-later
# NAME
@@ -21,6 +21,7 @@ bashtard - A Bash-based configuration management utility
*bashtard* var [-p _playbook_] <_key_>++
*bashtard* var [-s] <_key_> <_value_>++
*bashtard* sysinfo
+*bashtard* zap <playbook>
# DESCRIPTION
@@ -91,6 +92,13 @@ configuration file. This variant accepts the *-s* option, to instead save it to
the *secrets* file, which should only be readable by the user maintaining the
system through *bashtard*.
+## zap
+
+Removes a playbook from the registry. Unlike *del*, this will not attempt to run
+the *del* function defined within the playbook. This functionality can be used
+to remove the entry of a misbehaving playbook, or to be able to re-run the *add*
+function on it.
+
# SEE ALSO
- _bashtard(3)_ -- Functions and variables exposed by *bashtard* for use in