lib/gizzmo.rb in gizzmo-0.13.0 vs lib/gizzmo.rb in gizzmo-0.13.1
- old
+ new
@@ -304,11 +304,11 @@
separators(opts, DOC_STRINGS["copy"])
end,
'repair-tables' => OptionParser.new do |opts|
opts.banner = "Usage: #{zero} -T TABLE,... repair-tables [options]"
separators(opts, DOC_STRINGS["repair-tables"])
- opts.on("--max-copies=COUNT", "Limit max simultaneous copies to COUNT.") do |c|
+ opts.on("--max-copies=COUNT", "Limit max simultaneous copies to COUNT. (default 100)") do |c|
subcommand_options.num_copies = c.to_i
end
end,
'busy' => OptionParser.new do |opts|
opts.banner = "Usage: #{zero} busy"
@@ -400,19 +400,21 @@
end
end,
'add-partition' => OptionParser.new do |opts|
opts.banner = "Usage: #{zero} add-partition [options] TEMPLATE ..."
separators(opts, DOC_STRINGS["add-partition"])
+ add_template_opts subcommand_options, opts
add_scheduler_opts subcommand_options, opts
opts.on("-q", "--quiet", "Do not display transformation info (only valid with --force)") do
subcommand_options.quiet = true
end
end,
'remove-partition' => OptionParser.new do |opts|
opts.banner = "Usage: #{zero} remove-partition [options] TEMPLATE ..."
separators(opts, DOC_STRINGS["remove-partition"])
+ add_template_opts subcommand_options, opts
add_scheduler_opts subcommand_options, opts
opts.on("-q", "--quiet", "Do not display transformation info (only valid with --force)") do
subcommand_options.quiet = true