diff options
author | Lee Jarvis <lee@jarvis.co> | 2011-05-19 15:23:00 +0100 |
---|---|---|
committer | Lee Jarvis <lee@jarvis.co> | 2011-05-19 15:23:00 +0100 |
commit | 50823e7648b8ccdfd827953fe9d4c98df6e014a9 (patch) | |
tree | 1aacf5f4e7352c93fa7b68fc12bd12b97cbbfee2 /README.md | |
parent | fd91ced47ee2149bbfefaf22753269c5c618efff (diff) | |
download | slop-50823e7648b8ccdfd827953fe9d4c98df6e014a9.tar.gz |
no need to document this in readme
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -275,11 +275,6 @@ when an invalid option is found (`false` by default): Slop.new(:strict => true).parse(%w/--foo/) # => Slop::InvalidOptionError: Unknown option -- 'foo' -and it handles multiple invalid options with a sprinkling of pluralization: - - Slop.new(:strict => true).parse(%w/--foo --bar -z/) - # => Slop::InvalidOptionError: Unknown options -- 'foo', 'bar', 'z' - Significantly, however, Slop will still parse the valid options: slop = Slop.new(:strict => true, :help => true) do |