From bbe242b8a5634128f31ab9209875d7f288d99aa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Va=C5=A1ek?= <david.vasek@nic.cz> Date: Wed, 1 Jun 2022 13:43:09 +0200 Subject: [PATCH] doc/knotc: improve the description of the "zone-purge +orphan" command --- doc/man/knotc.8in | 4 ++-- doc/man_knotc.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/man/knotc.8in b/doc/man/knotc.8in index e9555d9fe1..bdc80ab307 100644 --- a/doc/man/knotc.8in +++ b/doc/man/knotc.8in @@ -215,11 +215,11 @@ requires a ttl value specified. \fBzone\-unset\fP \fIzone\fP \fIowner\fP [\fItype\fP [\fIrdata\fP]] Remove zone data within the transaction. .TP -\fBzone\-purge\fP \fIzone\fP\&... [\fIfilter\fP\&...] +\fBzone\-purge\fP \fIzone\fP\&... [\fB+orphan\fP] [\fIfilter\fP\&...] Purge zone data, zone file, journal, timers, and/or KASP data of specified zones. Available filters are \fB+expire\fP, \fB+zonefile\fP, \fB+journal\fP, \fB+timers\fP, and \fB+kaspdb\fP\&. If no filter is specified, all filters are enabled. -If the zone is no longer configured, add \fB+orphan\fP filter (zone file cannot +If the zone is no longer configured, add \fB+orphan\fP parameter (zone file cannot be purged in this case). This command always requires the force option. (#) .TP \fBzone\-stats\fP \fIzone\fP [\fImodule\fP[\fB\&.\fP\fIcounter\fP]] diff --git a/doc/man_knotc.rst b/doc/man_knotc.rst index 8170c210c8..64f181b78b 100644 --- a/doc/man_knotc.rst +++ b/doc/man_knotc.rst @@ -192,11 +192,11 @@ Actions **zone-unset** *zone* *owner* [*type* [*rdata*]] Remove zone data within the transaction. -**zone-purge** *zone*... [*filter*...] +**zone-purge** *zone*... [**+orphan**] [*filter*...] Purge zone data, zone file, journal, timers, and/or KASP data of specified zones. Available filters are **+expire**, **+zonefile**, **+journal**, **+timers**, and **+kaspdb**. If no filter is specified, all filters are enabled. - If the zone is no longer configured, add **+orphan** filter (zone file cannot + If the zone is no longer configured, add **+orphan** parameter (zone file cannot be purged in this case). This command always requires the force option. (#) **zone-stats** *zone* [*module*\ [\ **.**\ *counter*\ ]] -- GitLab