Commit 16157d97 authored by Cyril Roelandt's avatar Cyril Roelandt
Browse files

Show help when no arguments are provided.

parent 5e5d102c
......@@ -126,6 +126,10 @@ def _get_installed_backends():
def main():
parser = create_parser()
if len(sys.argv) == 1:
parser.print_help(sys.stderr)
sys.exit(1)
args = parser.parse_args()
if args.cmd == 'list-backends':
......
Supports Markdown
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