diff options
author | maxfl <gmaxfl@gmail.com> | 2012-07-08 18:53:12 +0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-07-10 16:21:00 -0700 |
commit | 0c03b6ddc7555deddeb208d8b15300edffd9ef0f (patch) | |
tree | 5cd14cfafdd3d339521400e60da70f014aced451 /doc_src | |
parent | 176a3913aa0dc2b0a03c16ffea9a22069266f4ab (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.txt | 1 |
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 |