Skip to content

Commit

Permalink
changes done according to the comments provided in PR eclipse-sdv-blu…
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekpandey02 committed Jan 30, 2024
1 parent c1774a4 commit 472449b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion components/fms-forwarder/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
Command::new(SUBCOMMAND_INFLUX).about("Forwards VSS data to an Influx DB server"),
))
.subcommand(zenoh_publisher::add_command_line_args(
Command::new(SUBCOMMAND_ZENOH).about("Forwards VSS data to an zenoh"),
Command::new(SUBCOMMAND_ZENOH).about("Forwards VSS data to zenoh"),
));

let args = parser.get_matches();
Expand Down
10 changes: 5 additions & 5 deletions components/fms-forwarder/src/zenoh_publisher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,33 +15,33 @@ pub fn add_command_line_args(command: Command) -> Command {
command
.arg(
Arg::new("mode")
.value_parser(clap::value_parser!(WhatAmI))
.value_parser(clap::value_parser!(WhatAmI))
.long("mode")
.short('m')
.help("-m, --mode=[MODE] 'The zenoh session mode (peer by default).")
.help("The zenoh session mode (peer by default).")
.required(false),
)
.arg(
Arg::new("connect")
.value_parser(clap::builder::NonEmptyStringValueParser::new())
.long("connect")
.short('e')
.help("-e, --connect=[ENDPOINT]... 'Endpoints to connect to.'")
.help("Endpoints to connect to.")
.required(false),
)
.arg(
Arg::new("listen")
.value_parser(clap::builder::NonEmptyStringValueParser::new())
.long("listen")
.short('l')
.help("-l, --listen=[ENDPOINT]... 'Endpoints to listen on.'")
.help("Endpoints to listen on.")
.required(false),
)
.arg(
Arg::new("no-multicast-scouting")
.value_parser(clap::builder::NonEmptyStringValueParser::new())
.long("no-multicast-scouting")
.help("--no-multicast-scouting 'Disable the multicast-based scouting mechanism.'")
.help("Disable the multicast-based scouting mechanism.")
.required(false),
)
}
Expand Down

0 comments on commit 472449b

Please sign in to comment.