Skip to content

Commit

Permalink
extended args timeout doc
Browse files Browse the repository at this point in the history
  • Loading branch information
sabify committed Jun 8, 2023
1 parent 56cf9f2 commit dec94ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ pub struct Args {
pub deadline: Option<u64>,
#[arg(long, default_value_t = 20)]
/// Connections that fail or are idle for `timeout` seconds will be closed.
/// (udp related protocols only)
pub timeout: u64,
#[arg(long, value_parser = parse_encryption)]
/// Enable encryption. Usage format: '<method>:<arg>', e.g. 'xor:mysecurekey'.
Expand Down

0 comments on commit dec94ec

Please sign in to comment.