lib/pivotal-integration/command/start.rb in pivotal-integration-1.6.0.1 vs lib/pivotal-integration/command/start.rb in pivotal-integration-1.6.0.2

- old
+ new

@@ -31,10 +31,10 @@ # * a story type (feature, bug, chore) # * +nil+ # @return [void] def run(*arguments) filter = arguments.first - use_current_branch = arguments.delete('--use-current') + use_current_branch = @options.fetch(:use_current, false) if filter == 'new' arguments.shift story = PivotalIntegration::Util::Story.new(@project, *PivotalIntegration::Command::New.collect_type_and_name(arguments)) else