aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2022-04-09 14:20:48 -0400
committerBruce Hill <bruce@bruce-hill.com>2022-04-09 14:20:48 -0400
commit49dddd713ef2cb390edfeddb5cb7b0fe507fafb5 (patch)
tree1c66e853b16107488aea2073ca1c3480e97bd471
parent326a0b960c6eeac4278c15a57e421326464372a6 (diff)
Tutorial uses --pattern for clarity
-rwxr-xr-xtutorial.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tutorial.sh b/tutorial.sh
index 6c47a3f..effdbc1 100755
--- a/tutorial.sh
+++ b/tutorial.sh
@@ -12,7 +12,7 @@ for t in $([ $# -gt 0 ] && echo "$@" || ls -v tests/*.sh); do
printf "\033[33;1mGiven these lines: Give this output:\033[m\n"
diff -y -W60 --color=always "${t/.sh/.in}" "${t/.sh/.out}"
while true; do
- printf "\n\033[1mbp pattern: \033[m"
+ printf "\n\033[1mbp --pattern \033[m"
read -r pat
printf "\033[0;2mRunning: \033[32m%s\033[m\n\n" "bp -p '$pat'"
printf "\033[33;1mExpected output: Your pattern's output:\033[m\n"