print help message when no command specified

This commit is contained in:
k4yt3x 2018-10-15 12:52:01 -04:00
parent 71a863fcc5
commit 9a2dd58823

View File

@ -376,6 +376,7 @@ def main():
exit(command_interpreter(sys.argv[0:]))
except IndexError:
avalon.warning('No commands specified')
print_help()
exit(0)
except (KeyboardInterrupt, EOFError):
avalon.warning('Exiting')