summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtor-exit-ssl-check-many5
1 files changed, 1 insertions, 4 deletions
diff --git a/tor-exit-ssl-check-many b/tor-exit-ssl-check-many
index a45973b..9f5a1e7 100755
--- a/tor-exit-ssl-check-many
+++ b/tor-exit-ssl-check-many
@@ -25,7 +25,7 @@ set -e
set -u
usage() {
- echo "Usage: $0 [<options>] <target> [<target>"
+ echo "Usage: $0 [<options>] <target> [<target> ...]"
echo "Options:"
echo " -a <auth> use this authority [$AUTH]"
echo " -l <dir> log dir [$LOGDIR]"
@@ -81,9 +81,6 @@ shift $(($OPTIND - 1))
if [ "${1:-}" = "--help" ]; then
usage
exit 0
-elif [ "$#" != 0 ]; then
- usage >&2
- exit 1
fi
declare -a CHECKHOSTS=("$@")