Skip to content

Commit

Permalink
console: mark baudrate as required
Browse files Browse the repository at this point in the history
  • Loading branch information
t-8ch committed Nov 28, 2021
1 parent d0e472f commit d3ab231
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public static void main(final String[] args) {
options.addOption(Option.builder("p").longOpt("port").argName("port name").hasArg().desc("Set the port")
.required().build());
options.addOption(
Option.builder("b").longOpt("baud").hasArg().argName("baud").desc("Set the port baud rate").build());
Option.builder("b").longOpt("baud").hasArg().argName("baud").desc("Set the port baud rate").required().build());
options.addOption(Option.builder("f").longOpt("flow").hasArg().argName("type")
.desc("Set the flow control (none | hardware | software)").build());
options.addOption(Option.builder("c").longOpt("channel").hasArg().argName("channel id")
Expand Down

0 comments on commit d3ab231

Please sign in to comment.