From d37e490e0035f79414e4008ff8631672aa610966 Mon Sep 17 00:00:00 2001 From: Willem Toorop Date: Fri, 18 Oct 2024 11:20:23 +0200 Subject: [PATCH] Fix ldns-update documentation --- examples/ldns-update.1 | 2 +- examples/ldns-update.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/ldns-update.1 b/examples/ldns-update.1 index f36b2683..99c6958f 100644 --- a/examples/ldns-update.1 +++ b/examples/ldns-update.1 @@ -30,7 +30,7 @@ When given uses this \fBzone\fR instead of trying to find and process \fBdomain\ .TP \fBip\fR -Send the update to this IP address. +Set the \fBname\fR to this IP address. Or, when the literal text \fBnone\fR is given, remove any previous addresses. .TP diff --git a/examples/ldns-update.c b/examples/ldns-update.c index c6782036..249828e1 100644 --- a/examples/ldns-update.c +++ b/examples/ldns-update.c @@ -247,7 +247,7 @@ static void usage(FILE *fp, char *prog) { fprintf(fp, "%s domain [zone] ip tsig_name tsig_alg tsig_hmac\n", prog); - fprintf(fp, " send a dynamic update packet to \n\n"); + fprintf(fp, " send a dynamic update\n\n"); fprintf(fp, " Use 'none' instead of ip to remove any previous address\n"); fprintf(fp, " If 'zone' is not specified, try to figure it out from the zone's SOA\n"); fprintf(fp, " Example: %s my.example.org 1.2.3.4\n", prog); -- 2.47.3