Skip to content

Commit

Permalink
command lipe parse crash fix
Browse files Browse the repository at this point in the history
  • Loading branch information
milyin committed Jan 26, 2024
1 parent 1b86de3 commit 1d743e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zenoh-ext/examples/z_pub_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ fn parse_args() -> (Config, String, String, usize, Option<String>, bool) {
)
.arg(arg!(-v --value [VALUE] "The value to publish.").default_value("Pub from Rust!"))
.arg(
arg!(-h --history [SIZE] "The number of publications to keep in cache")
arg!(-i --history [SIZE] "The number of publications to keep in cache")
.default_value("1"),
)
.arg(arg!(-x --prefix [STRING] "An optional queryable prefix"))
.arg(arg!(-c --config [FILE] "A configuration file."))
// .arg(arg!(-o --complete "Set `complete` option to true. This means that this queryable is ulitmate data source, no need to scan other queryables."))
.arg(arg!(-o --complete "Set `complete` option to true. This means that this queryable is ulitmate data source, no need to scan other queryables."))
.arg(arg!(--"no-multicast-scouting" "Disable the multicast-based scouting mechanism."))
.get_matches();

Expand Down

0 comments on commit 1d743e8

Please sign in to comment.