Skip to content

Commit 80b08f8

Browse files
Reword command_exists_or_die example, for clarity
1 parent 87e5e7b commit 80b08f8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ Ensure a command exists, otherwise die with a help message.
196196
command_exists_or_die grep
197197
=> true
198198
199-
command_exists_or_die curl
200-
STDERR=> Command needed: curl
199+
command_exists_or_die loremipsum
200+
STDERR=> Command needed: loremipsum
201201
=> exit 1
202202
```
203203

posix-shell-script-kit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -613,8 +613,8 @@ command_exists() {
613613
# command_exists_or_die grep
614614
# => true
615615
#
616-
# command_exists_or_die curl
617-
# STDERR=> Command needed: curl
616+
# command_exists_or_die loremipsum
617+
# STDERR=> Command needed: loremipsum
618618
# => exit 1
619619
# ```
620620
command_exists_or_die() {

0 commit comments

Comments
 (0)