Lines Matching refs:args
86 args = parser.parse_args()
88 if args.commit and args.diff:
91 if args.diff and not re.match(r"^[\w\-\.\^]+\.\.[\w\-\.\^]+$", args.diff):
95 if args.commit or args.diff:
96 if not args.force and tree_is_dirty():
104 if args.commit:
105 args.find = False
107 if args.ignore:
109 re.match(args.ignore, "this/is/just/a/test.c")
113 return args
118 args = parse_options()
121 COLOR = args.color and sys.stdout.isatty()
123 if args.sim and not args.commit and not args.diff:
124 sims = find_sims(args.sim, args.ignore)
135 if args.commit or args.diff:
141 if args.commit:
142 commit_a = args.commit + "~"
143 commit_b = args.commit
144 elif args.diff:
145 split = args.diff.split("..")
153 undefined_a, _ = check_symbols(args.ignore)
157 undefined_b, defined = check_symbols(args.ignore)
177 undefined, defined = check_symbols(args.ignore)
186 sims = find_sims(symbol, args.ignore, defined)
193 if args.find:
195 commits = find_commits(symbol, args.diff)
411 def parse_kconfig_files(args): argument
415 kconfig_files = args[0]
416 ignore = args[1]