We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--license-sources
extend
nargs
1 parent 9ed7291 commit 9e2985cCopy full SHA for 9e2985c
src/scanoss/cli.py
@@ -706,8 +706,9 @@ def setup_args() -> None: # noqa: PLR0912, PLR0915
706
# See: https://github.com/python/cpython/commit/c4a2e8a2c5188c3288d57b80852e92c83f46f6f3
707
for p in [p_inspect_raw_copyleft, p_inspect_legacy_copyleft]:
708
p.add_argument(
709
- '--license-sources', '-ls',
710
- action='append',
+ '-ls', '--license-sources',
+ action='extend',
711
+ nargs='+',
712
choices=VALID_LICENSE_SOURCES,
713
help=f'Specify which license sources to check for copyleft violations. Each license object in scan results '
714
f'has a source field indicating its origin. Default: {", ".join(DEFAULT_COPYLEFT_LICENSE_SOURCES)}',
0 commit comments