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:
parent
0729d1965f
commit
d1d9721314
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user