Skip to content

Commit f321b4d

Browse files
Merge pull request #4029 from lyr-ast/issue-#4024
Enforced --path as a required parameter for scancode-license-data module
2 parents 13b47a7 + 34e3996 commit f321b4d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/licensedcode/license_db.py

+1
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ def scancode_license_data(path):
210210
'--path',
211211
type=click.Path(exists=False, writable=True, file_okay=False, resolve_path=True, path_type=str),
212212
metavar='DIR',
213+
required=True,
213214
help='Dump the license data in this directory in the LicenseDB format and exit. '
214215
'Creates the directory if it does not exist. ',
215216
help_group=MISC_GROUP,

0 commit comments

Comments
 (0)