Skip to content

Commit

Permalink
change version number
Browse files Browse the repository at this point in the history
  • Loading branch information
lazytiger committed Mar 3, 2020
1 parent d938b60 commit 9c647fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub struct DnsEntry {
}

#[derive(Clap)]
#[clap(version = "0.2", author = "Hoping White", about = "a trojan implementation using rust")]
#[clap(version = "0.3", author = "Hoping White", about = "a trojan implementation using rust")]
pub struct Opts {
#[clap(subcommand)]
pub mode: Mode,
Expand All @@ -27,7 +27,7 @@ pub struct Opts {
pub log_level: u8,
#[clap(short, long, default_value = "255", help = "set marker used by tproxy")]
pub marker: u8,
#[clap(short, long, default_value = "60", help = "time in seconds before closing an inactive connection")]
#[clap(short, long, default_value = "120", help = "time in seconds before closing an inactive connection")]
pub idle_timeout: u64,
#[clap(skip)]
dns_cache_duration: Duration,
Expand Down

0 comments on commit 9c647fe

Please sign in to comment.