mirror of
https://github.com/k4yt3x/wg-meshconf.git
synced 2024-11-25 09:03:11 +01:00
print help message when no command specified
This commit is contained in:
parent
71a863fcc5
commit
9a2dd58823
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user