Skip to content

Commit

Permalink
Merge branch 'bcandrea-patch-promote' into 1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Cowie committed Jan 26, 2015
2 parents 9468830 + 173e80d commit c7f7eaf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/chef/knife/spork-promote.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ class SporkPromote < Chef::Knife
:description => 'Save the environment to the chef server in addition to the local JSON file',
:default => nil

option :cookbook_path,
:short => '-o PATH:PATH',
:long => '--cookbook-path PATH:PATH',
:description => 'A colon-separated path to look for cookbooks in',
:proc => lambda { |o| o.split(':') }

if defined?(::Berkshelf)
option :berksfile,
:short => '-b',
Expand Down

0 comments on commit c7f7eaf

Please sign in to comment.