Skip to content

Commit e9f522d

Browse files
author
torsten.sillus
committed
Updated cli documentation to include --only-licenses
1 parent bc9d9aa commit e9f522d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff 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
316317
Output 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

0 commit comments

Comments
 (0)