lib/chef/fork/commands/data.rb in chef-fork-0.1.2 vs lib/chef/fork/commands/data.rb in chef-fork-0.1.3
- old
+ new
@@ -9,10 +9,10 @@
class Chef
class Fork
module Commands
class Data < Noop
def run(args=[])
- rest = optparse.order(args)
+ rest = order_args(args)
case rest.first
when "bag"
data_bag(rest.slice(1..-1) || [])
else
raise(NameError.new(rest.inspect))