if not args:
args.append("goals")
if len(args) == 1 and args[0] in set(["-h", "--help", "help"]):
def format_usage(usages):
left_colwidth = 0
for left, right in usages:
After Change
args.append("help")
help_flags = set(["-h", "--help", "help"])
show_help = len(help_flags.intersection(args)) > 0
args = filter(lambda f: f not in help_flags, args)
goals, specs = Goal.parse_args(args)
if show_help:
print_help(goals)
sys.exit(0)
self.requested_goals = goals
with self.run_tracker.new_workunit(name="setup", labels=[WorkUnit.SETUP]):
// Bootstrap goals by loading any configured bootstrap BUILD files