aboutsummaryrefslogtreecommitdiff
path: root/tests/11-ordered-choice.sh
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2023-11-25 14:57:19 -0500
committerBruce Hill <bruce@bruce-hill.com>2023-11-25 14:57:19 -0500
commite6e482054de77f3fe5d65344da86065373cf5f23 (patch)
treea6876c73bccf490512be5ff93fa808f3ce8d1c95 /tests/11-ordered-choice.sh
parente0a55ba6176df325b65b1768bba929805444bf88 (diff)
Deprecate '-p' flag and replace backslash interpolation with curly brace
interpolation
Diffstat (limited to 'tests/11-ordered-choice.sh')
-rw-r--r--tests/11-ordered-choice.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/11-ordered-choice.sh b/tests/11-ordered-choice.sh
index 277741d..4334643 100644
--- a/tests/11-ordered-choice.sh
+++ b/tests/11-ordered-choice.sh
@@ -1,5 +1,5 @@
# The ordered choice operator (/) picks the first choice that matches
-# Example: bp -p '"cabaret"/"cab"' matches either "cabaret" or "cab"
+# Example: bp '{"cabaret"/"cab"}' matches either "cabaret" or "cab"
# Note: if a match occurs, the options to the right will *never* be attempted,
-# so bp -p '"cab"/"cabaret"' will always match "cab" instead of "cabaret"
-bp -p '"foo" / "bar"'
+# so bp '{"cab"/"cabaret"}' will always match "cab" instead of "cabaret"
+bp '{"foo" / "bar"}'