From c6188975d2da6c1696c4433f6fce8ae4c9a6ac38 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 12 Apr 2023 08:15:20 -0300 Subject: bin/: Make help string more consistent across several executables --- bin/untill | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bin/untill') diff --git a/bin/untill b/bin/untill index 738b5bb..9980c81 100755 --- a/bin/untill +++ b/bin/untill @@ -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. -- cgit v1.2.3