This commit is contained in:
Rémi Lauzier 2022-02-18 13:08:38 -05:00
parent 83b96beb44
commit 6087b05604
No known key found for this signature in database
GPG key ID: D4B9ECD143336C1D
4 changed files with 4 additions and 4 deletions

View file

@ -18,7 +18,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"

View file

@ -31,7 +31,7 @@ struct Opt {
impl Opt {
fn from_args() -> anyhow::Result<Self> {
let app = clap::App::new("beep")
let app = clap::Command::new("beep")
.arg(arg!(
-l --latency [DELAY_MS] "Specify the delay between input and output [default: 150]"))
.arg(arg!([IN] "The input audio device to use"))

View file

@ -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"