diff options
author | Lee Jarvis <lee@jarvis.co> | 2010-12-02 13:37:56 +0000 |
---|---|---|
committer | Lee Jarvis <lee@jarvis.co> | 2010-12-02 13:37:56 +0000 |
commit | c594d630609f287e141a9c9c09b74c5c3d0dc6e4 (patch) | |
tree | e04ade097b4d6835794f812a77545433d224d45d | |
parent | 535db6620c468e6c4faa9093cfa359e6b76275c6 (diff) | |
download | slop-c594d630609f287e141a9c9c09b74c5c3d0dc6e4.tar.gz |
default array limit should be 0, not 1.. duh
-rw-r--r-- | lib/slop/option.rb | 2 |
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 |