mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-04 23:13:41 +01:00
Added usage print and exit if no options are given
This commit is contained in:
parent
818bf29b02
commit
c019ecd493
@ -596,6 +596,12 @@ test_serverside_ordering() {
|
||||
fi
|
||||
}
|
||||
|
||||
# If no options are given, give usage information and exit (with error code)
|
||||
if [ $# -eq 0 ]; then
|
||||
usage;
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# UNKNOWNOPTIONS=""
|
||||
while :
|
||||
do
|
||||
|
Loading…
Reference in New Issue
Block a user