require a subcommand
This commit is contained in:
parent
5b2f99516f
commit
a290c2c4e7
|
@ -358,7 +358,7 @@ argparser.add_argument(
|
||||||
default=Path('./dlibrary'),
|
default=Path('./dlibrary'),
|
||||||
help='directory to store dlibrary content and metadata to (default: ./dlibrary)',
|
help='directory to store dlibrary content and metadata to (default: ./dlibrary)',
|
||||||
)
|
)
|
||||||
subparsers = argparser.add_subparsers(title="subcommands")
|
subparsers = argparser.add_subparsers(title="subcommands", required=True)
|
||||||
|
|
||||||
parser_extract = subparsers.add_parser('extract', help='extract zipfiles')
|
parser_extract = subparsers.add_parser('extract', help='extract zipfiles')
|
||||||
parser_extract.add_argument(
|
parser_extract.add_argument(
|
||||||
|
|
Loading…
Reference in a new issue