examples/_src/args/required.erb.rb in cl-1.2.0 vs examples/_src/args/required.erb.rb in cl-1.2.1
- old
+ new
@@ -30,11 +30,11 @@
Usage: bin/examples required one [two] [options]
Arguments:
- one type: string, required: true
+ one type: string, required
two type: string
Options:
--help Get help on this command
@@ -42,16 +42,16 @@
%>
<%= run 'Cl.new($0).run(%w(required one two three))' %>
<%= out sq(<<-'str')
- Too many arguments (given: 3, allowed: 2)
+ Too many arguments: one two three (given: 3, allowed: 2)
Usage: bin/examples required one [two] [options]
Arguments:
- one type: string, required: true
+ one type: string, required
two type: string
Options:
--help Get help on this command