From 98a4f059736e9f49bc33b96c93a3cdfd81d21616 Mon Sep 17 00:00:00 2001 From: jannikac Date: Tue, 6 Dec 2022 22:08:46 +0100 Subject: [PATCH] Add a config option for the repeat flag --- src/opts.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/opts.rs b/src/opts.rs index 9eb5e4d..93fb62e 100644 --- a/src/opts.rs +++ b/src/opts.rs @@ -17,4 +17,9 @@ pub struct Opts { /// If enabled, any IPv6 (AAAA) records in the configuration file are ignored. #[clap(action, long)] pub skip_ipv6: bool, + /// Repeat after specified delay + /// + /// If enabled waits for the given delay between updating DNS records + #[clap(long)] + pub repeat: Option, }