lib/docman/cli.rb in docman-0.0.93 vs lib/docman/cli.rb in docman-0.0.94

- old
+ new

@@ -69,12 +69,12 @@ say(result, :green) end end desc 'bump', 'Bump version' - method_option :next, :aliases => '-n', :desc => 'Automatically use next version number' - method_option :branch, :aliases => '-b', :desc => 'Bump release on specific branch' - method_option :skip, :aliases => '-s', :desc => 'Skip CI with commit message' + method_option :next, :type => :boolean, :aliases => '-n', :desc => 'Automatically use next version number' + method_option :branch, :type => :string, :aliases => '-b', :desc => 'Bump release on specific branch' + method_option :skip, :type => :boolean, :aliases => '-s', :desc => 'Skip CI with commit message' #option :state #option :skip def bump(state = nil) bump_params = [] bump_params.push("--branch=#{options[:branch]}") if options[:branch] \ No newline at end of file