diff --git a/tools/src/common.rs b/tools/src/common.rs index 82575c3..bb41619 100644 --- a/tools/src/common.rs +++ b/tools/src/common.rs @@ -26,7 +26,7 @@ pub async fn get_provider( return Err(format!("Device not found: {e:?}")); } }; - Box::new(dev.to_provider(UsbmuxdAddr::default(), 0, label)) + Box::new(dev.to_provider(UsbmuxdAddr::default(), 1, label)) } else if host.is_some() && pairing_file.is_some() { let host = match IpAddr::from_str(host.unwrap()) { Ok(h) => h, diff --git a/tools/src/core_device_proxy_tun.rs b/tools/src/core_device_proxy_tun.rs index ba1e654..54e0322 100644 --- a/tools/src/core_device_proxy_tun.rs +++ b/tools/src/core_device_proxy_tun.rs @@ -38,13 +38,6 @@ async fn main() { .help("Show about information") .action(clap::ArgAction::SetTrue), ) - .arg( - Arg::new("help") - .short('h') - .long("help") - .help("Show this help message") - .action(clap::ArgAction::SetTrue), - ) .get_matches(); if matches.get_flag("about") { diff --git a/tools/src/heartbeat_client.rs b/tools/src/heartbeat_client.rs index 4ed859a..a04bf21 100644 --- a/tools/src/heartbeat_client.rs +++ b/tools/src/heartbeat_client.rs @@ -35,13 +35,6 @@ async fn main() { .help("Show about information") .action(clap::ArgAction::SetTrue), ) - .arg( - Arg::new("help") - .short('h') - .long("help") - .help("Show this help message") - .action(clap::ArgAction::SetTrue), - ) .get_matches(); if matches.get_flag("about") { diff --git a/tools/src/ideviceinfo.rs b/tools/src/ideviceinfo.rs index c2ed220..3204712 100644 --- a/tools/src/ideviceinfo.rs +++ b/tools/src/ideviceinfo.rs @@ -36,13 +36,6 @@ async fn main() { .help("Show about information") .action(clap::ArgAction::SetTrue), ) - .arg( - Arg::new("help") - .short('h') - .long("help") - .help("Show this help message") - .action(clap::ArgAction::SetTrue), - ) .get_matches(); if matches.get_flag("about") { diff --git a/tools/src/instproxy.rs b/tools/src/instproxy.rs index 0f8339f..f0cd922 100644 --- a/tools/src/instproxy.rs +++ b/tools/src/instproxy.rs @@ -36,13 +36,6 @@ async fn main() { .help("Show about information") .action(clap::ArgAction::SetTrue), ) - .arg( - Arg::new("help") - .short('h') - .long("help") - .help("Show this help message") - .action(clap::ArgAction::SetTrue), - ) .get_matches(); if matches.get_flag("about") { diff --git a/tools/src/mounter.rs b/tools/src/mounter.rs index 1dc7642..dfc10a2 100644 --- a/tools/src/mounter.rs +++ b/tools/src/mounter.rs @@ -38,13 +38,6 @@ async fn main() { .help("Show about information") .action(clap::ArgAction::SetTrue), ) - .arg( - Arg::new("help") - .short('h') - .long("help") - .help("Show this help message") - .action(clap::ArgAction::SetTrue), - ) .get_matches(); if matches.get_flag("about") {