Skip to content

Commit

Permalink
Merge pull request #10 from chenxiaolong/timeout
Browse files Browse the repository at this point in the history
Increase default timeout and make it a global argument
  • Loading branch information
chenxiaolong authored Feb 25, 2023
2 parents f26cf9b + e9ba6fc commit 6e00ad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pub struct Opts {
#[clap(subcommand)]
pub subcommand: Subcommand,
/// Bluetooth scanning timeout (in seconds)
#[clap(short, long, default_value = "3")]
#[clap(short, long, default_value = "10", global = true)]
pub timeout: u64,
}

Expand Down

0 comments on commit 6e00ad4

Please sign in to comment.