summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLee Jarvis <lee@jarvis.co>2010-12-02 13:37:56 +0000
committerLee Jarvis <lee@jarvis.co>2010-12-02 13:37:56 +0000
commitc594d630609f287e141a9c9c09b74c5c3d0dc6e4 (patch)
treee04ade097b4d6835794f812a77545433d224d45d
parent535db6620c468e6c4faa9093cfa359e6b76275c6 (diff)
downloadslop-c594d630609f287e141a9c9c09b74c5c3d0dc6e4.tar.gz
default array limit should be 0, not 1.. duh
-rw-r--r--lib/slop/option.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/slop/option.rb b/lib/slop/option.rb
index f691b31..9f60e71 100644
--- a/lib/slop/option.rb
+++ b/lib/slop/option.rb
@@ -41,7 +41,7 @@ class Slop
# Array properties
@delimiter = options[:delimiter] || ','
- @limit = options[:limit] || 1
+ @limit = options[:limit] || 0
@argument_value = nil
end