fix: don't use ending faint

This commit is contained in:
Daylin Morgan 2022-09-24 17:49:54 -05:00
parent 401eb1088b
commit d6bd8a0247

View file

@ -185,13 +185,13 @@ def print_arg_help(help_args):
print(f"{ansi.style('task.mk recipe help','header')}\n") print(f"{ansi.style('task.mk recipe help','header')}\n")
for arg in help_args.split(): for arg in help_args.split():
print("\n".join(parse_goal(gen_makefile(), arg))) print("\n".join(parse_goal(gen_makefile(), arg)))
print()
def main(): def main():
help_args = os.getenv("HELP_ARGS") help_args = os.getenv("HELP_ARGS")
if help_args: if help_args:
print_arg_help(help_args) print_arg_help(help_args)
print(ansi.faint)
sys.exit(1) sys.exit(1)
else: else:
print_help() print_help()