summaryrefslogtreecommitdiff
path: root/tests/bin/wget
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bin/wget')
-rwxr-xr-xtests/bin/wget4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/bin/wget b/tests/bin/wget
index 77144b9..ad5f235 100755
--- a/tests/bin/wget
+++ b/tests/bin/wget
@@ -33,7 +33,7 @@ msg() {
fi
}
-OPTS=$(getopt -l quiet,help,spider -o "qhO:" -n $prog -- "$@") || usage "1" >&2
+OPTS=$(getopt -l quiet,help,spider,timeout,tries -o "qhO:T:t:" -n $prog -- "$@") || usage "1" >&2
quiet=
eval set -- "$OPTS"
@@ -53,6 +53,8 @@ while true; do
shift
outfile="$1"
;;
+ -T|--timeout) shift;;
+ -t|--tries) shift;;
--)
shift
break