2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-11-22 14:23:41 +01:00

Merge pull request #41 from MikeDawg/master

Added usage print and exit if no options are given
This commit is contained in:
Julien Vehent 2014-12-25 12:27:35 -05:00
commit 4e74308c37

View File

@ -599,6 +599,12 @@ test_serverside_ordering() {
fi fi
} }
# If no options are given, give usage information and exit (with error code)
if [ $# -eq 0 ]; then
usage;
exit 1
fi
# UNKNOWNOPTIONS="" # UNKNOWNOPTIONS=""
while : while :
do do