We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab2363c commit 910251aCopy full SHA for 910251a
1 file changed
src/main.rs
@@ -33,10 +33,13 @@ struct Args {
33
#[arg(short, long, default_value = "1000-2000")]
34
ports: String,
35
36
+ /// Number of concurrent connections. Higher values = faster but may miss ports.
37
+ /// Recommended: 500-2000 for accuracy. Also limited by ulimit -n.
38
#[arg(short, long, default_value_t = DEFAULT_CONCURRENCY)]
39
concurrency: usize,
40
- #[arg(short, long, default_value = "1000")]
41
+ /// Connection timeout in ms. Lower = faster but may miss slow services.
42
+ #[arg(short = 'T', long, default_value = "1000")]
43
timeout: u64,
44
45
#[arg(long)]
0 commit comments