README.md in slop-3.0.4 vs README.md in slop-3.1.0

- old
+ new

@@ -3,10 +3,12 @@ Slop is a simple option parser with an easy to remember syntax and friendly API. This README is targeted at Slop v3. +[![Build Status](https://secure.travis-ci.org/injekt/slop.png)](http://travis-ci.org/injekt/slop) + Installation ------------ ### Rubygems @@ -25,11 +27,11 @@ # parse assumes ARGV, otherwise you can pass it your own Array opts = Slop.parse do banner "ruby foo.rb [options]\n" on :name=, 'Your name' on :p, :password, 'Your password', :argument => :optional - on :v :verbose, 'Enable verbose mode' + on :v, :verbose, 'Enable verbose mode' end # if ARGV is `--name Lee -v` opts.verbose? #=> true opts.password? #=> false @@ -128,6 +130,6 @@ on :n, :name=, 'Your name' on :a, :age=, 'Your age', :as => :int end opts.to_hash #=> { :name => 'lee', :age => 105 } -``` \ No newline at end of file +```