File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -311,7 +311,8 @@ usage: __main__.py [-h] [--format FORMAT] [--file FILE] [--using USING]
311311 [--ignore-packages IGNORE_PACKAGES [IGNORE_PACKAGES ...]]
312312 [--fail-packages FAIL_PACKAGES [FAIL_PACKAGES ...]]
313313 [--ignore-licenses IGNORE_LICENSES [IGNORE_LICENSES ...]]
314- [--fail-licenses FAIL_LICENSES [FAIL_LICENSES ...]] [--zero]
314+ [--fail-licenses FAIL_LICENSES [FAIL_LICENSES ...]]
315+ [--only_licenses ONLY_LICENSES [ONLY_LICENSES ...]] [--zero]
315316
316317Output the licenses used by dependencies and check if these are compatible with the project license.
317318
@@ -330,6 +331,8 @@ options:
330331 a list of licenses to ignore (skipped, compat may still be False)
331332 --fail-licenses FAIL_LICENSES [FAIL_LICENSES ...]
332333 a list of licenses to fail (compat=False)
334+ --only-licenses ONLY_LICENSES [ONLY_LICENSES ...]
335+ a list of allowed licenses (any other license will fail)
333336 --skip-dependencies SKIP_DEPENDENCIES [SKIP_DEPENDENCIES ...]
334337 a list of dependencies to skip (compat=False)
335338 --zero, -0 Return non zero exit code if an incompatible license is found
You can’t perform that action at this time.
0 commit comments