Skip to content

Commit

Permalink
clarify --print-errors flag
Browse files Browse the repository at this point in the history
  • Loading branch information
aler9 committed May 20, 2019
1 parent f152874 commit 3830066
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ Flags:
--version print mavp2p version
-q, --quiet suppress info messages
--print print routed frames
--print-errors print parse errors
--print-errors print parse errors individually, instead of
printing only their quantity every 5 seconds
--hb-disable disable heartbeats
--hb-version=1 set mavlink version of heartbeats
--hb-systemid=125 set system id of heartbeats. it is
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func main() {

quiet := kingpin.Flag("quiet", "suppress info messages").Short('q').Bool()
print := kingpin.Flag("print", "print routed frames").Bool()
printErrors := kingpin.Flag("print-errors", "print parse errors").Bool()
printErrors := kingpin.Flag("print-errors", "print parse errors individually, instead of printing only their quantity every 5 seconds").Bool()

hbDisable := kingpin.Flag("hb-disable", "disable heartbeats").Bool()
hbVersion := kingpin.Flag("hb-version", "set mavlink version of heartbeats").Default("1").Enum("1", "2")
Expand Down

0 comments on commit 3830066

Please sign in to comment.