From 45f2447e6a2870e8322667a4144982517232cc6d Mon Sep 17 00:00:00 2001 From: Victor Farazdagi Date: Tue, 5 May 2020 16:23:09 +0300 Subject: [PATCH] More explicit error message on wrong process when running prysm.sh (#5747) * exit when incorrect command passed * more explicit error message * grammar --- prysm.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/prysm.sh b/prysm.sh index 0dd368e9f..ab608719a 100755 --- a/prysm.sh +++ b/prysm.sh @@ -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