lib/chef/fork/commands/help.rb in chef-fork-0.1.2 vs lib/chef/fork/commands/help.rb in chef-fork-0.1.3
- old
+ new
@@ -8,10 +8,11 @@
class Chef
class Fork
module Commands
class Help < Noop
def run(args=[])
- if command = args.shift
+ rest = order_args(args)
+ if command = rest.shift
case command
when "commands"
paths = $LOAD_PATH.map { |path|
File.join(path, "chef", "fork", "commands")
}