From df8426976dd3bbff6f1a7e4a2108f7cf45cee9e7 Mon Sep 17 00:00:00 2001 From: Ximon Eighteen <3304436+ximon18@users.noreply.github.com> Date: Fri, 8 Nov 2024 13:30:04 +0100 Subject: [PATCH] Remove guidance concerning key files in help text which is correct for ldns-signzone but not yet supported by dnst signzone. Also, remove hard-coded line breaks in the help tetx so that the terminal can wrap the text as it will the rest of the help. --- src/commands/signzone.rs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/commands/signzone.rs b/src/commands/signzone.rs index c61fe97..af137cc 100644 --- a/src/commands/signzone.rs +++ b/src/commands/signzone.rs @@ -36,13 +36,9 @@ 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 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. If that does not exist, - a default DNSKEY will be generated from the private key and added to the zone. - A date can be a timestamp (seconds since the epoch), or of - the form + 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. + +A date can be a timestamp (seconds since the epoch), or of the form " )] pub struct SignZone {