diff options
author | Peter Palfrader <peter@palfrader.org> | 2013-07-16 09:46:43 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2013-07-16 09:46:43 +0000 |
commit | 425c214217452abc153a303c6445e2e0af4e8d7c (patch) | |
tree | cf7b7e34cb6d06da84d76614ca8b4f3ae33ccb29 | |
parent | 21091b4b0c52e1a61c8ff27fa6ca4ec07a14c8ae (diff) |
Accept arguments
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@638 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rwxr-xr-x | tor-exit-ssl-check-many | 5 |
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=("$@") |