Lines Matching refs:args
348 args = parser.parse_args() variable
350 d = read_data(args.input)
352 if args.alternate_colors:
357 if args.type == "histogram" or args.type is None:
358 if args.order == "build" or args.order == "duration" or args.order == "name":
359 pkg_histogram(d, args.output, args.order)
360 elif args.order is None:
361 pkg_histogram(d, args.output, "name")
363 sys.stderr.write("Unknown ordering: %s\n" % args.order)
365 elif args.type == "pie-packages":
366 pkg_pie_time_per_package(d, args.output)
367 elif args.type == "pie-steps":
368 pkg_pie_time_per_step(d, args.output)
369 elif args.type == "timeline":
370 pkg_timeline(d, args.output)
372 sys.stderr.write("Unknown type: %s\n" % args.type)