summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorLee Jarvis <lee@jarvis.co>2011-07-07 14:46:43 +0100
committerLee Jarvis <lee@jarvis.co>2011-07-07 14:46:43 +0100
commit061bc689957f7046d2b06e1cf82b211b9c157463 (patch)
treecbae4150ca56aebfafa7ef44e88deb905333d105 /README.md
parentfa4562e021c712010164eb7864ac074e3a6d3daf (diff)
downloadslop-061bc689957f7046d2b06e1cf82b211b9c157463.tar.gz
enable :multiple_switches by default
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 0472cfe..2152d9b 100644
--- a/README.md
+++ b/README.md
@@ -83,7 +83,7 @@ Parsing
Slop's pretty good at parsing, let's take a look at what it'll extract for you
- Slop.parse do
+ Slop.parse(:multiple_switches => false) do
on 's', 'server', true
on 'p', 'port', true, :as => :integer
on 'username', true, :matches => /[^a-zA-Z]+$/