Lines Matching refs:args
85 args = parser.parse_args()
87 if args.commit and args.diff:
90 if args.diff and not re.match(r"^[\w\-\.\^]+\.\.[\w\-\.\^]+$", args.diff):
94 if args.commit or args.diff:
95 if not args.force and tree_is_dirty():
103 if args.commit:
104 if args.commit.startswith('HEAD'):
107 args.find = False
109 if args.ignore:
111 re.match(args.ignore, "this/is/just/a/test.c")
115 return args
120 args = parse_options()
123 COLOR = args.color and sys.stdout.isatty()
125 if args.sim and not args.commit and not args.diff:
126 sims = find_sims(args.sim, args.ignore)
137 if args.commit or args.diff:
143 if args.commit:
144 commit_a = args.commit + "~"
145 commit_b = args.commit
146 elif args.diff:
147 split = args.diff.split("..")
155 undefined_a, _ = check_symbols(args.ignore)
159 undefined_b, defined = check_symbols(args.ignore)
179 undefined, defined = check_symbols(args.ignore)
188 sims = find_sims(symbol, args.ignore, defined)
195 if args.find:
197 commits = find_commits(symbol, args.diff)
413 def parse_kconfig_files(args): argument
417 kconfig_files = args[0]
418 ignore = args[1]