lib/chef/fork/commands/role.rb in chef-fork-0.1.2 vs lib/chef/fork/commands/role.rb in chef-fork-0.1.3
- old
+ new
@@ -8,10 +8,10 @@
class Chef
class Fork
module Commands
class Role < Noop
def run(args=[])
- rest = optparse.order(args)
+ rest = order_args(args)
case rest.first
when "edit"
role_edit(rest.slice(1..-1) || [])
when "from"
role_from(rest.slice(1..-1) || [])