add mode show and fix some things #20

Merged
cscherrNT merged 21 commits from devel into master 2024-07-26 10:43:20 +02:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit d62fd468ff - Show all commits

View File

@ -78,6 +78,7 @@ pub struct Clock {
#[clap(short = 'u', long, value_parser = humantime::parse_duration)] #[clap(short = 'u', long, value_parser = humantime::parse_duration)]
pub countdown: Option<std::time::Duration>, pub countdown: Option<std::time::Duration>,
/// Play a notification sound when the countdown is up /// Play a notification sound when the countdown is up
#[cfg(feature = "sound")]
#[clap(short, long, default_value_t = true)] #[clap(short, long, default_value_t = true)]
pub sound: bool, pub sound: bool,