From a290c2c4e7130e6578c70f11178b78523b06beef Mon Sep 17 00:00:00 2001 From: xenofem Date: Mon, 22 Jan 2024 22:09:26 -0500 Subject: [PATCH] require a subcommand --- dlibrary/dlibrary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlibrary/dlibrary.py b/dlibrary/dlibrary.py index 261c3fa..eec8ea4 100755 --- a/dlibrary/dlibrary.py +++ b/dlibrary/dlibrary.py @@ -358,7 +358,7 @@ argparser.add_argument( default=Path('./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.add_argument(