lib/dircat/cli/command_query.rb in dircat-0.1.7 vs lib/dircat/cli/command_query.rb in dircat-0.1.8
- old
+ new
@@ -12,10 +12,10 @@
def self.usage
"Usage: query [options] <catalog> [<method>]"
end
- def exec(options, rest)
+ def exec(main, options, rest)
if rest.length < 1
puts "missing catalog!"
puts "-h to print help"
return 0
end