Skip to content

Commit

Permalink
fix double printed help info (#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
3Byuan authored Oct 18, 2020
1 parent e5bf334 commit cae62b4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion cmd/signal/grpc/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ func parse() bool {
}

if *help {
showHelp()
return false
}
return true
Expand Down
1 change: 0 additions & 1 deletion cmd/signal/json-rpc/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ func parse() bool {
}

if *help {
showHelp()
return false
}
return true
Expand Down

0 comments on commit cae62b4

Please sign in to comment.