summaryrefslogtreecommitdiff
path: root/tor-exit-ssl-check-many
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2013-07-16 09:46:43 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2013-07-16 09:46:43 +0000
commit425c214217452abc153a303c6445e2e0af4e8d7c (patch)
treecf7b7e34cb6d06da84d76614ca8b4f3ae33ccb29 /tor-exit-ssl-check-many
parent21091b4b0c52e1a61c8ff27fa6ca4ec07a14c8ae (diff)
Accept arguments
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@638 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
Diffstat (limited to 'tor-exit-ssl-check-many')
-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=("$@")