Add a config option for the repeat flag

This commit is contained in:
jannikac 2022-12-06 22:08:46 +01:00
parent 35d60f0b29
commit 98a4f05973
1 changed files with 5 additions and 0 deletions

View File

@ -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<u64>,
}