From 34e3996e032b8b498daafa3c0a92e9d82005cfeb Mon Sep 17 00:00:00 2001 From: Aayush Kumar Date: Wed, 18 Dec 2024 22:18:12 +0530 Subject: [PATCH] Enforced --path as a required parameter for scancode-license-data module Signed-off-by: Aayush Kumar --- src/licensedcode/license_db.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/licensedcode/license_db.py b/src/licensedcode/license_db.py index f460e88f061..091d3aadf20 100644 --- a/src/licensedcode/license_db.py +++ b/src/licensedcode/license_db.py @@ -210,6 +210,7 @@ def scancode_license_data(path): '--path', type=click.Path(exists=False, writable=True, file_okay=False, resolve_path=True, path_type=str), metavar='DIR', + required=True, help='Dump the license data in this directory in the LicenseDB format and exit. ' 'Creates the directory if it does not exist. ', help_group=MISC_GROUP,