From 5ec81278cd69e3e2d990931660aa69ff4d64cfdd Mon Sep 17 00:00:00 2001 From: Ximon Eighteen <3304436+ximon18@users.noreply.github.com> Date: Wed, 27 Nov 2024 08:50:23 +0100 Subject: [PATCH] Update help texts to match updated key discovery behaviour. --- src/commands/signzone.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/commands/signzone.rs b/src/commands/signzone.rs index dc8f082..a9dd4dc 100644 --- a/src/commands/signzone.rs +++ b/src/commands/signzone.rs @@ -47,8 +47,8 @@ const FOUR_WEEKS: u32 = 2419200; #[derive(Clone, Debug, clap::Args)] #[clap( - after_help = "Keys must be specified by their base name (usually K++), i.e. WITHOUT the .private or .key extension. Both .private and .key files are required. - + after_help = "Keys must be specified by their base name (usually K++), i.e. WITHOUT the .private or .key extension. +If the public part of the key is not present in the zone, the DNSKEY RR will be read from the file called .key. A date can be a timestamp (seconds since the epoch), or of the form " )] @@ -232,7 +232,9 @@ const LDNS_HELP: &str = r###"ldns-signzone [OPTIONS] zonefile key [key [key]] -p set the opt-out flag on all nsec3 rrs keys must be specified by their base name (usually K++), - i.e. WITHOUT the .private or .key extension. + i.e. WITHOUT the .private extension. + If the public part of the key is not present in the zone, the DNSKEY RR + will be read from the file called .key. A date can be a timestamp (seconds since the epoch), or of the form "###;