summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorLee Jarvis <lee@jarvis.co>2011-06-06 22:17:57 +0100
committerLee Jarvis <lee@jarvis.co>2011-06-06 22:17:57 +0100
commit44e3b19e593f8620fee0069010cb04ff9485148e (patch)
tree1c4e2f2cbefecd85df68602ffcae64414c5a0254 /README.md
parenta99e532f9db3cba273d88da0ec681dbed1d1339d (diff)
downloadslop-44e3b19e593f8620fee0069010cb04ff9485148e.tar.gz
added link to lists wiki page
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 2 insertions, 8 deletions
diff --git a/README.md b/README.md
index 4ba1175..d663485 100644
--- a/README.md
+++ b/README.md
@@ -193,14 +193,8 @@ You can of course also parse lists into options. Here's how:
# ARGV is `--people lee,john,bill`
opts[:people] #=> ['lee', 'john', 'bill']
-You can also change both the split delimiter and limit
-
- opts = Slop.parse do
- opt :people, true, :as => Array, :delimiter => ':', :limit => 2)
- end
-
- # ARGV is `--people lee:injekt:bob`
- opts[:people] #=> ["lee", "injekt:bob"]
+Slop supports a few styles of list parsing. Check out
+[this wiki page](https://github.com/injekt/slop/wiki/Lists) for more info.
Ranges
------