From 425c214217452abc153a303c6445e2e0af4e8d7c Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 16 Jul 2013 09:46:43 +0000 Subject: Accept arguments git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@638 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede --- tor-exit-ssl-check-many | 5 +---- 1 file changed, 1 insertion(+), 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 [] [" + echo "Usage: $0 [] [ ...]" echo "Options:" echo " -a use this authority [$AUTH]" echo " -l 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=("$@") -- cgit v1.2.3