examples/readme/opts in cl-1.2.2 vs examples/readme/opts in cl-1.2.3
- old
+ new
@@ -2,9 +2,11 @@
$: << File.expand_path('lib')
require 'cl'
class Add < Cl::Cmd
+ register :add
+
opt '--to GROUP', 'Target group to add owners to'
def run
p opts: opts, to: to, to?: to?
end