remove buggy interval cli option

This commit is contained in:
Patrick Stadler 2015-03-14 14:49:41 +01:00
parent f4d464e276
commit cab1ad7d0a
1 changed files with 3 additions and 6 deletions

View File

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
# config # config
INTERVAL=5 INTERVAL=2
REPORTER=stdout # TODO: handle multiple reporters REPORTER=stdout # TODO: handle multiple reporters
# env # env
@ -10,12 +10,12 @@ LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8 LANGUAGE=en_US.UTF-8
# handle opts # handle opts
opts_spec=":dhvri:" opts_spec=":dhvr:"
opt_docs=false opt_docs=false
opt_verbose=false opt_verbose=false
usage () { usage () {
echo "Usage: $0 [-d] [-h] [-v] [-r] [-i]" echo "Usage: $0 [-d] [-h] [-v] [-r]"
} }
help () { help () {
@ -37,9 +37,6 @@ while getopts "$opts_spec" opt; do
r) r)
REPORTER=$OPTARG REPORTER=$OPTARG
;; ;;
i)
INTERVAL=$OPTARG
;;
*) *)
usage usage
exit 1 exit 1