|
@@ -294,10 +294,10 @@ def run():
|
|
|
if "-h" not in args_raw and "--help" not in args_raw:
|
|
|
CURSOR_UP_ONE = '\x1b[1A'
|
|
|
ERASE_LINE = '\x1b[2K'
|
|
|
- log(CURSOR_UP_ONE + ERASE_LINE + CURSOR_UP_ONE + "[E] Invalid argument(s) were provided in command: " + ' ' * 50, "RED")
|
|
|
- log(" pyinstalive " + ' '.join(args_raw), "YELLOW")
|
|
|
- log("\n[I] Usage for PyInstaLive is printed below.\n", "GREEN")
|
|
|
- parser.print_help()
|
|
|
+ log(CURSOR_UP_ONE * 2 + ERASE_LINE + CURSOR_UP_ONE + "[E] Invalid argument(s) were provided in command: " + ' ' * 50, "RED")
|
|
|
+ log(" pyinstalive " + ' '.join(args_raw) + ' ' * 50, "YELLOW")
|
|
|
+ log(' ' * 50, "GREEN")
|
|
|
+ log("[I] \033[94mpyinstalive -h\033[92m can be used to display command help." + ' ' * 50, "GREEN")
|
|
|
sys.exit(1)
|
|
|
else:
|
|
|
sys.exit(0)
|