examples/readme/alias in cl-1.2.2 vs examples/readme/alias 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', alias: :group
def run
# p opts: opts, to: to, to?: to?, group: group, group?: group?
p opts: opts, to: to, to?: to?