Commit 33096c90 authored by Dion Haefner's avatar Dion Haefner

[ci skip] dorie now prints usage when called without arguments with python 3.x

parent d748a731
......@@ -72,7 +72,8 @@ if __name__ == "__main__": # parse command line and call command handler
epilog="For more information check our online documentation:\n"
" (password: 'richards')"
subparsers = parser.add_subparsers(title="Commands")
subparsers = parser.add_subparsers(title="Commands",dest="command")
subparsers.required = True
parser_run = subparsers.add_parser('run',help="start dorie")
parser_run.add_argument('config',help="DORiE configuration file. Can be created with 'dorie create'.")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment