lib/cucumber_slice/cli.rb in cucumber-slice-0.0.1 vs lib/cucumber_slice/cli.rb in cucumber-slice-0.0.2

- old
+ new

@@ -24,12 +24,12 @@ If the features you wish to filter are anywhere but <git_root>/features, you can specify them: > $ cucumber-slice list --since a3989b6 --features "project/features" LONGDESC - option :since, :type => :string, :default => "HEAD", :banner => "REV" - option :all, :type => :boolean, :default => false - option :features, :default => "features", :aliases => ["f"] + method_option :since, :type => :string, :default => "HEAD", :banner => "REV" + method_option :all, :type => :boolean, :default => false + method_option :features, :default => "features", :aliases => ["f"] def list require 'cucumber_slice/lists_features' features = ListsFeatures.new(options[:features], options[:since], !!options[:all]) puts features.list end