examples/_src/args/cast.erb.rb in cl-1.2.0 vs examples/_src/args/cast.erb.rb in cl-1.2.1
- old
+ new
@@ -36,10 +36,10 @@
<%= out '{:cmd=>:types, :a=>true, :b=>1, :c=>1.2, :d=>"foo"}' %>
<%= run 'Cl.new($0).run(%w(types true 1 1.2 foo bar))' %>
<%= out sq(<<-'str')
- Too many arguments (given: 5, allowed: 4)
+ Too many arguments: true 1 1.2 foo bar (given: 5, allowed: 4)
Usage: bin/examples types [a:bool] [b:int] [c:float] [d] [options]
Arguments: