forked from extern/wg-meshconf
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:]))
|
exit(command_interpreter(sys.argv[0:]))
|
||||||
except IndexError:
|
except IndexError:
|
||||||
avalon.warning('No commands specified')
|
avalon.warning('No commands specified')
|
||||||
|
print_help()
|
||||||
exit(0)
|
exit(0)
|
||||||
except (KeyboardInterrupt, EOFError):
|
except (KeyboardInterrupt, EOFError):
|
||||||
avalon.warning('Exiting')
|
avalon.warning('Exiting')
|
||||||
|
Loading…
Reference in New Issue
Block a user