Skip to content

Commit

Permalink
More explicit error message on wrong process when running prysm.sh (#…
Browse files Browse the repository at this point in the history
…5747)

* exit when incorrect command passed
* more explicit error message
* grammar
  • Loading branch information
farazdagi authored May 5, 2020
1 parent 2eac24c commit 45f2447
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions prysm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,11 @@ slasher)
;;

*)
color "31" "Process '$1' is not found!"
color "31" "Usage: ./prysm.sh PROCESS FLAGS."
color "31" " ./prysm.sh PROCESS --download-only."
color "31" "PROCESS can be beacon-chain, validator, or slasher."
exit 1
;;
esac

Expand Down

0 comments on commit 45f2447

Please sign in to comment.