generated from PlexSheep/rs-base
refactor: hide the sound option behind the sound feature
cargo devel CI / cargo CI (push) Successful in 1m43s
Details
cargo devel CI / cargo CI (push) Successful in 1m43s
Details
This commit is contained in:
parent
daa764cb96
commit
d62fd468ff
|
@ -78,6 +78,7 @@ pub struct Clock {
|
|||
#[clap(short = 'u', long, value_parser = humantime::parse_duration)]
|
||||
pub countdown: Option<std::time::Duration>,
|
||||
/// Play a notification sound when the countdown is up
|
||||
#[cfg(feature = "sound")]
|
||||
#[clap(short, long, default_value_t = true)]
|
||||
pub sound: bool,
|
||||
|
||||
|
|
Reference in New Issue