From cb0c0279af913c75319cd80c76f7f2fcbff0807a Mon Sep 17 00:00:00 2001 From: Steven Palma Date: Fri, 8 Dec 2023 16:26:12 +0100 Subject: [PATCH] fix examples session mode default value --- examples/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/src/lib.rs b/examples/src/lib.rs index e7c00cb606..a766bd0695 100644 --- a/examples/src/lib.rs +++ b/examples/src/lib.rs @@ -21,7 +21,7 @@ pub struct CommonArgs { #[arg(short, long)] /// A configuration file. config: Option, - #[arg(short, long, default_value_t)] + #[arg(short, long, default_value = "peer")] /// The Zenoh session mode. mode: Wai, #[arg(short = 'e', long)]