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)]