diff options
Diffstat (limited to 'bin/untill')
-rwxr-xr-x | bin/untill | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,7 +4,7 @@ set -eu usage() { cat <<-'EOF' Usage: - until [-m MAX] [-n SECONDS] -- COMMAND... + until [-m MAX] [-n SECONDS] COMMAND... until -h EOF } @@ -12,12 +12,15 @@ usage() { help() { cat <<-'EOF' + Options: -n SECONDS the amount of seconds to sleep between attempts (default: 5) -m MAX the maximum number of attempts (default: unlimited) -h, --help show this message + COMMAND the shell command to be executed + Runs COMMAND until it eventually succeeds, trying atmost MAX times. Sleep SECONDS between attempts. |