Clap 3.1
This commit is contained in:
parent
83b96beb44
commit
6087b05604
4 changed files with 4 additions and 4 deletions
|
|
@ -26,7 +26,7 @@ struct Opt {
|
|||
|
||||
impl Opt {
|
||||
fn from_args() -> Self {
|
||||
let app = clap::App::new("beep").arg(arg!([DEVICE] "The audio device to use"));
|
||||
let app = clap::Command::new("beep").arg(arg!([DEVICE] "The audio device to use"));
|
||||
#[cfg(all(
|
||||
any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd"),
|
||||
feature = "jack"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue