增加未提供参数时的提示

master
Mufanc 3 years ago
parent d0ab44b84c
commit 60848e89f2

@ -37,6 +37,8 @@ async def main():
await utils.flash_current() await utils.flash_current()
elif args.all: elif args.all:
await utils.flash_all() await utils.flash_all()
else:
parser.print_help()
if __name__ == '__main__': if __name__ == '__main__':
loop = asyncio.new_event_loop() loop = asyncio.new_event_loop()

Loading…
Cancel
Save