2
0
mirror of https://github.com/gitwatch/gitwatch synced 2024-11-15 06:12:52 +00:00

Exit on wrong option

This commit is contained in:
Andrey Astafyev 2019-02-15 13:45:51 +03:00
parent 0729d1965f
commit d1d9721314

View File

@ -138,6 +138,7 @@ do
p|r) REMOTE=${OPTARG};;
s) SLEEP_TIME=${OPTARG};;
e) EVENTS=${OPTARG};;
*) stderr "Error: Option '${option}' is not exist."; shelp; exit 1;;
esac
done