From 7310eb56926addc5c10413b3095b2a4a2d8ac0c6 Mon Sep 17 00:00:00 2001 From: John Goerzen Date: Thu, 24 Sep 2020 22:11:22 -0500 Subject: [PATCH] cleanups --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index fe1e365..b684ea5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -106,7 +106,7 @@ enum Command { broadcast_everything: bool, /** The maximum number of seconds to store the destination XBee MAC for an IP address. */ - #[structopt(long)] + #[structopt(long, default_value = "300")] max_ip_cache: u64, /// Name for the interface; defaults to "xbnet%d" which the OS usually turns to "xbnet0".