lib/gizzmo.rb in gizzmo-0.4.1 vs lib/gizzmo.rb in gizzmo-0.4.2
- old
+ new
@@ -94,11 +94,15 @@
end,
'addforwarding' => OptionParser.new do |opts|
opts.banner = "Usage: #{zero} addforwarding TABLE_ID BASE_ID SHARD_ID"
separators(opts, DOC_STRINGS["addforwarding"])
end,
+ 'currentforwarding' => OptionParser.new do |opts|
+ opts.banner = "Usage: #{zero} currentforwarding SOURCE_ID [ANOTHER_SOURCE_ID...]"
+ separators(opts, DOC_STRINGS["addforwarding"])
+ end,
'forwardings' => OptionParser.new do |opts|
- opts.banner = "Usage: #{zero} show [options]"
+ opts.banner = "Usage: #{zero} forwardings [options]"
separators(opts, DOC_STRINGS["forwardings"])
opts.on("-t", "--tables=IDS", "Show only the specified table ids (comma separated)") do |table_ids|
subcommand_options.table_ids ||= []
subcommand_options.table_ids += table_ids.split(",").map { |s| s.to_i }
\ No newline at end of file