aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src
diff options
context:
space:
mode:
authorGravatar maxfl <gmaxfl@gmail.com>2012-07-08 18:53:12 +0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-07-10 16:21:00 -0700
commit0c03b6ddc7555deddeb208d8b15300edffd9ef0f (patch)
tree5cd14cfafdd3d339521400e60da70f014aced451 /doc_src
parent176a3913aa0dc2b0a03c16ffea9a22069266f4ab (diff)
Allow 'contains' builtin to return index
Add an option -i/--index to the contains builtin to print the index of first coincidence.
Diffstat (limited to 'doc_src')
-rw-r--r--doc_src/contains.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc_src/contains.txt b/doc_src/contains.txt
index 4add8b0e..46d1bce1 100644
--- a/doc_src/contains.txt
+++ b/doc_src/contains.txt
@@ -5,6 +5,7 @@
\subsection contains-description Description
+- \c -i or \c --index print the the word index
- \c -h or \c --help display this message
Test if the set VALUES contains the string KEY. Return status is 0 if