More explicit error message on wrong process when running prysm.sh (#5747)

* exit when incorrect command passed
* more explicit error message
* grammar
This commit is contained in:
Victor Farazdagi 2020-05-05 16:23:09 +03:00 committed by GitHub
parent 2eac24cb79
commit 45f2447e6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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