diff options
author | EuAndreh <eu@euandre.org> | 2023-04-12 08:15:20 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-04-12 08:15:20 -0300 |
commit | c6188975d2da6c1696c4433f6fce8ae4c9a6ac38 (patch) | |
tree | 613545634bc999385d13ecb107d2cce113ba11c4 /bin/n-times | |
parent | bin/: Add trailing semicolor to Perl heredocs (diff) | |
download | dotfiles-c6188975d2da6c1696c4433f6fce8ae4c9a6ac38.tar.gz dotfiles-c6188975d2da6c1696c4433f6fce8ae4c9a6ac38.tar.xz |
bin/: Make help string more consistent across several executables
Diffstat (limited to 'bin/n-times')
-rwxr-xr-x | bin/n-times | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/n-times b/bin/n-times index c8d10d8..660b734 100755 --- a/bin/n-times +++ b/bin/n-times @@ -4,7 +4,7 @@ set -eu usage() { cat <<-'EOF' Usage: - n-times COUNT -- COMMAND... + n-times COUNT COMMAND... n-times -h EOF } @@ -12,12 +12,16 @@ usage() { help() { cat <<-'EOF' + Options: -h, --help show this message COUNT the number of times for COMMAND to be executed + Run COMMAND, COUNT times. + + Examples: Print 123 5 times: |