Browse Source

Make command a required argument for new argparse changes

tags/nilmdb-2.0.0
Jim Paris 4 years ago
parent
commit
a2e124f444
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      nilmdb/cmdline/cmdline.py

+ 1
- 1
nilmdb/cmdline/cmdline.py View File

@@ -131,7 +131,7 @@ class Cmdline(object):
).completer = self.complete.url

sub = self.parser.add_subparsers(
title="Commands", dest="command",
title="Commands", dest="command", required=True,
description="Use 'help command' or 'command --help' for more "
"details on a particular command.")



Loading…
Cancel
Save