diff --git a/src/clock.rs b/src/clock.rs index c074e8c..27d20f8 100644 --- a/src/clock.rs +++ b/src/clock.rs @@ -78,6 +78,7 @@ pub struct Clock { #[clap(short = 'u', long, value_parser = humantime::parse_duration)] pub countdown: Option, /// Play a notification sound when the countdown is up + #[cfg(feature = "sound")] #[clap(short, long, default_value_t = true)] pub sound: bool,