From a4dd0912fccf3cb7813d9c26ca4eac6b187a73a8 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Tue, 1 Oct 2024 10:55:11 +0200 Subject: [PATCH] Add usage for experimental features --- README.md | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index eb91004..0289926 100644 --- a/README.md +++ b/README.md @@ -49,15 +49,16 @@ bashcompinit source <(knotctl completion) ``` ## Usage - ``` -usage: knotctl [-h] [--json | --no-json] {add,completion,config,delete,list,update} ... +usage: knotctl [-h] [--json | --no-json] + {add,auditlog,changelog,completion,config,delete,list,update} + ... Manage DNS records with knot dns rest api: * https://gitlab.nic.cz/knot/knot-dns-rest positional arguments: - {add,completion,config,delete,list,update} + {add,auditlog,changelog,completion,config,delete,list,update} options: -h, --help show this help message and exit @@ -134,6 +135,29 @@ options: -s SHELL, --shell SHELL ``` +### AUDITLOG + +``` +usage: knotctl auditlog [-h] + +Audit the log file for errors. + +options: + -h, --help show this help message and exit +``` + +### CHANGELOG + +``` +usage: knotctl changelog [-h] -z ZONE + +View the changelog of a zone. + +options: + -h, --help show this help message and exit + -z ZONE, --zone ZONE +``` + ### CONFIG ```