bin/watchbuffy in watchbuffy-1.0.1 vs bin/watchbuffy in watchbuffy-1.0.2

- old
+ new

@@ -3,20 +3,23 @@ require_relative "../lib/watchbuffy" require "rationalist" args = Rationalist.parse( - string: ["show", "buffy-season", "angel-season"] + string: ["show", "buffy-season", "angel-season", "connor"] ) options = {} if args[:show] options[:show] = args[:show].split(",") elsif args[:"buffy-season"] && !args[:"angel-season"] options[:show] = "buffy" elsif args[:"angel-season"] && !args[:"buffy-season"] options[:show] = "angel" +end +if args[:connor] == false + options[:exclude_characters] = "Connor" end options[:buffy_season] = args[:"buffy-season"].split(",").map(&:to_i) if args[:"buffy-season"] options[:angel_season] = args[:"angel-season"].split(",").map(&:to_i) if args[:"angel-season"]