From 7970ed3568df6e916c8e235c57978cbb7c940d27 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sat, 9 Mar 2019 22:16:29 +0800 Subject: unix/waiton.sh: Change interval argument from '-t' to '-i' --- unix/waiton.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'unix') diff --git a/unix/waiton.sh b/unix/waiton.sh index 0689106..a82da3d 100755 --- a/unix/waiton.sh +++ b/unix/waiton.sh @@ -29,10 +29,10 @@ usage() { Wait for process(s) to finish ... usage: - ${me} [-t interval] [ ...] + ${me} [-i interval] [ ...] options: - -t : number of seconds between every check. + -i : number of seconds between every check. (default: 5) example: @@ -44,12 +44,12 @@ _EOF_ interval=5 -while getopts :ht: opt; do +while getopts :1hi: opt; do case ${opt} in h) usage ;; - t) + i) interval="${OPTARG}" ;; \?) -- cgit v1.2.2