Skip to content

Commit

Permalink
fix examples session mode default value
Browse files Browse the repository at this point in the history
  • Loading branch information
imstevenpmwork committed Dec 8, 2023
1 parent db235af commit cb0c027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub struct CommonArgs {
#[arg(short, long)]
/// A configuration file.
config: Option<String>,
#[arg(short, long, default_value_t)]
#[arg(short, long, default_value = "peer")]
/// The Zenoh session mode.
mode: Wai,
#[arg(short = 'e', long)]
Expand Down

0 comments on commit cb0c027

Please sign in to comment.