bin/my_help in my_help-0.7.0 vs bin/my_help in my_help-0.7.1
- old
+ new
@@ -13,11 +13,10 @@
desc 'list all helps, specific HELP, or item'
arg_name 'HELP_NAME, ITEM'
command :list do |c|
c.action do |global_options,options,args|
- p args
file, item = args
if file.nil?
$control.list_all
elsif item.nil?
$control.list_help(file)
@@ -29,11 +28,10 @@
desc 'edit HELP_NAME help'
arg_name 'HELP_NAME'
command :edit do |c|
c.action do |global_options,options,args|
- p args
- $control.edit_help(args[0])
+ $control.edit_help(args[0])
end
end
desc 'make new HELP_NAME help'
arg_name 'HELP_NAME'