lib/synvert/cli.rb in synvert-1.8.0 vs lib/synvert/cli.rb in synvert-1.9.0
- old
+ new
@@ -32,10 +32,10 @@
Command.list_available_rewriters(@options[:format])
when 'open'
Command.open_rewriter(@options[:snippet_name])
when 'query'
Command.read_rewriters
- Command.query_available_rewriters
+ Command.query_available_rewriters(@options[:query], @options[:format])
when 'show'
Command.show_rewriter(@options[:snippet_name])
when 'sync'
Command.sync_snippets
when 'generate'