Skip to content

Commit

Permalink
removed non-working command line options
Browse files Browse the repository at this point in the history
  • Loading branch information
chazzly committed May 14, 2015
1 parent a580e17 commit f645594
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions lib/chef/knife/spork-bump.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,34 +15,11 @@ class SporkBump < Chef::Knife
:description => 'A colon-separated path to look for cookbooks in',
:proc => lambda { |o| o.split(':') }

option :berksfile,
:short => '-b',
:long => 'berksfile',
:description => 'Path to a Berksfile to operate off of',
:default => nil,
:proc => lambda { |o| o || File.join(Dir.pwd, ::Berkshelf::DEFAULT_FILENAME) }

option :skip_dependencies,
:short => '-s',
:long => '--skip-dependencies',
:description => 'Berksfile skips resolving source cookbook dependencies',
:default => true

option :bump_comment,
:long => '--bump_comment',
:description => 'Bump will prompt for a Change comment, which will be appended to CHANGELOG.md along with the new version # and username',
:default => nil

option :bump_commit,
:long => '--bump_commit',
:description => 'Bump will create a git commit once version has been bumped',
:default => false

option :bump_tag,
:long => '--bump_tag',
:description => 'Bump will create a git tag using the new version #',
:default => false

if defined?(::Berkshelf)
option :berksfile,
:short => '-b',
Expand All @@ -57,7 +34,7 @@ class SporkBump < Chef::Knife
:default => true
end

banner 'knife spork bump COOKBOOK [major|minor|patch|manual] [--bump_comment] [--bump_tag]'
banner 'knife spork bump COOKBOOK [major|minor|patch|manual] [--bump_comment]'

def run
self.class.send(:include, KnifeSpork::Runner)
Expand Down

0 comments on commit f645594

Please sign in to comment.