Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

Commit

Permalink
Merge pull request #39 from miri64/sniffer/enh/baudrate-optional
Browse files Browse the repository at this point in the history
 sniffer: make baudrate optional
  • Loading branch information
miri64 authored Jul 13, 2018
2 parents e7f8e3c + 5017bea commit 00d6473
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sniffer/tools/sniffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ def main():
"connected via serial line")
serial_p.add_argument("tty", type=str,
help="Serial port to board with sniffer application")
serial_p.add_argument("baudrate", type=int,
help="Baudrate of the serial port")
serial_p.add_argument("-b", "--baudrate", type=int, default=112500,
nargs="?", help="Baudrate of the serial port")
socket_p = sp.add_parser("socket",
help="Parse output of a TCP-connected sniffer "
"application")
Expand Down

0 comments on commit 00d6473

Please sign in to comment.