Lines Matching refs:arg_set
76 arg_set = { k for (k,v) in vars(args).items() if v and k != "action" }
77 arg_set.add(args.action)
78 path = args.path if "path" in arg_set else None
81 validate_args_path(path, arg_set, file_map)
82 if (path and "enable_single" in arg_set):
87 if ("delay" in arg_set):
95 elif ("disable_all" in arg_set or "D" in arg_set):
97 elif ("disable_single" in arg_set or "d" in arg_set):
99 elif ("view_all" in arg_set or "V" in arg_set):
101 elif ("view_single" in arg_set or "v" in arg_set):
122 def validate_args_path(path, arg_set, file_map): argument
124 if (not path and any(element in arg_set for element in single_actions)):
128 elif (path and any(item in arg_set for item in all_actions)):
132 elif (path not in file_map and any(item in arg_set