Skip to content

Commit

Permalink
lint, handle unknown flags in case
Browse files Browse the repository at this point in the history
  • Loading branch information
TrevorBenson committed Nov 15, 2023
1 parent 7dc5b47 commit ab56dfa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/cnode-helper-scripts/mithril-client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@ while getopts :duh opt; do
usage
exit 1
;;
*)
usage
exit 1
;;
esac
done

Expand Down
4 changes: 4 additions & 0 deletions scripts/cnode-helper-scripts/mithril-relay.sh
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,10 @@ while getopts :dlh opt; do
usage
exit 1
;;
*)
usage
exit 1
;;
esac
done

Expand Down

0 comments on commit ab56dfa

Please sign in to comment.