Skip to content

Commit bed47d8

Browse files
committed
Merge remote-tracking branch 'origin/develop' into agent/lgpl-3.0-16-required-phrases
2 parents 086e5fc + 1be30ae commit bed47d8

7 files changed

Lines changed: 50 additions & 50 deletions

File tree

docs/source/reference/scancode-cli/cli-help-text-options.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ The following help text is displayed for ScanCode version 32.0.0:
173173
-n, --processes INT Set the number of parallel processes to use. Disable
174174
parallel processing if 0. Also disable threading if
175175
-1. [default: (number of CPUs)-1]
176-
-c, --config-file FILENAME Path to the configuration file.
176+
--config-file FILENAME Path to the configuration file.
177177
-q, --quiet Do not print summary or progress.
178178
-v, --verbose Print progress as file-by-file path instead of a
179179
progress bar. Print verbose scan counters.

docs/source/rst-snippets/cli-core-options.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
Default: ``(number of CPUs)-1``
99

10-
-c, --config-file FILENAME Path to the configuration file.
10+
--config-file FILENAME Path to the configuration file.
1111
-v, --verbose Print verbose file-by-file progress messages.
1212

1313
-q, --quiet Do not print summary or progress messages.

src/licensedcode/data/rules/gpl-2.0-plus_with_freertos-exception-2.0_1.RULE

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
license_expression: gpl-2.0-plus WITH freertos-exception-2.0
33
is_license_reference: yes
44
relevance: 100
5+
is_deprecated: yes
56
ignorable_urls:
67
- http://www.freertos.org/
78
---
89

9-
http://www.freertos.org/
10+
http://www.freertos.org/

src/scancode/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def default_processes():
233233
cls=PluggableCommandLineOption,
234234
)
235235

236-
@click.option('-c', '--config-file',
236+
@click.option('--config-file',
237237
type=click.File('r'),
238238
required=False,
239239
help='Path to the configuration file.',

src/scancode/plugin_only_findings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class OnlyFindings(OutputFilterPlugin):
2121

2222
options = [
2323
PluggableCommandLineOption(('--only-findings',), is_flag=True,
24+
default=False,
2425
help='Only return files or directories with findings for the '
2526
'requested scans. Files and directories without findings are '
2627
'omitted (file information is not treated as findings).',

tests/scancode/data/help/help.txt

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -136,29 +136,28 @@ Options:
136136
which are todo items and needs manual review.
137137

138138
core:
139-
--ignore <pattern> Ignore files matching <pattern>.
140-
--timeout <seconds> Stop an unfinished file scan after a timeout in
141-
seconds. [default: 120 seconds]
142-
-n, --processes INT Set the number of parallel processes to use.
143-
Disable parallel processing if 0. Also disable
144-
threading if -1. [default: (number of CPUs)-1]
145-
-c, --config-file FILENAME Path to the configuration file.
146-
-q, --quiet Do not print summary or progress.
147-
-v, --verbose Print progress as file-by-file path instead of a
148-
progress bar. Print verbose scan counters.
149-
--from-json Load codebase from one or more <input> JSON scan
150-
file(s).
151-
--max-in-memory INTEGER Maximum number of files and directories scan
152-
details kept in memory during a scan. Additional
153-
files and directories scan details above this
154-
number are cached on-disk rather than in memory.
155-
Use 0 to use unlimited memory and disable on-disk
156-
caching. Use -1 to use only on-disk caching.
157-
[default: 10000]
158-
--max-depth INTEGER Maximum nesting depth of subdirectories to scan.
159-
Descend at most INTEGER levels of directories
160-
below and including the starting directory. Use 0
161-
for no scan depth limit.
139+
--ignore <pattern> Ignore files matching <pattern>.
140+
--timeout <seconds> Stop an unfinished file scan after a timeout in
141+
seconds. [default: 120 seconds]
142+
-n, --processes INT Set the number of parallel processes to use. Disable
143+
parallel processing if 0. Also disable threading if
144+
-1. [default: (number of CPUs)-1]
145+
--config-file FILENAME Path to the configuration file.
146+
-q, --quiet Do not print summary or progress.
147+
-v, --verbose Print progress as file-by-file path instead of a
148+
progress bar. Print verbose scan counters.
149+
--from-json Load codebase from one or more <input> JSON scan
150+
file(s).
151+
--max-in-memory INTEGER Maximum number of files and directories scan details
152+
kept in memory during a scan. Additional files and
153+
directories scan details above this number are cached
154+
on-disk rather than in memory. Use 0 to use unlimited
155+
memory and disable on-disk caching. Use -1 to use
156+
only on-disk caching. [default: 10000]
157+
--max-depth INTEGER Maximum nesting depth of subdirectories to scan.
158+
Descend at most INTEGER levels of directories below
159+
and including the starting directory. Use 0 for no
160+
scan depth limit.
162161

163162
documentation:
164163
-h, --help Show this message and exit.

tests/scancode/data/help/help_linux.txt

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -138,29 +138,28 @@ Options:
138138
which are todo items and needs manual review.
139139

140140
core:
141-
--ignore <pattern> Ignore files matching <pattern>.
142-
--timeout <seconds> Stop an unfinished file scan after a timeout in
143-
seconds. [default: 120 seconds]
144-
-n, --processes INT Set the number of parallel processes to use.
145-
Disable parallel processing if 0. Also disable
146-
threading if -1. [default: (number of CPUs)-1]
147-
-c, --config-file FILENAME Path to the configuration file.
148-
-q, --quiet Do not print summary or progress.
149-
-v, --verbose Print progress as file-by-file path instead of a
150-
progress bar. Print verbose scan counters.
151-
--from-json Load codebase from one or more <input> JSON scan
152-
file(s).
153-
--max-in-memory INTEGER Maximum number of files and directories scan
154-
details kept in memory during a scan. Additional
155-
files and directories scan details above this
156-
number are cached on-disk rather than in memory.
157-
Use 0 to use unlimited memory and disable on-disk
158-
caching. Use -1 to use only on-disk caching.
159-
[default: 10000]
160-
--max-depth INTEGER Maximum nesting depth of subdirectories to scan.
161-
Descend at most INTEGER levels of directories
162-
below and including the starting directory. Use 0
163-
for no scan depth limit.
141+
--ignore <pattern> Ignore files matching <pattern>.
142+
--timeout <seconds> Stop an unfinished file scan after a timeout in
143+
seconds. [default: 120 seconds]
144+
-n, --processes INT Set the number of parallel processes to use. Disable
145+
parallel processing if 0. Also disable threading if
146+
-1. [default: (number of CPUs)-1]
147+
--config-file FILENAME Path to the configuration file.
148+
-q, --quiet Do not print summary or progress.
149+
-v, --verbose Print progress as file-by-file path instead of a
150+
progress bar. Print verbose scan counters.
151+
--from-json Load codebase from one or more <input> JSON scan
152+
file(s).
153+
--max-in-memory INTEGER Maximum number of files and directories scan details
154+
kept in memory during a scan. Additional files and
155+
directories scan details above this number are cached
156+
on-disk rather than in memory. Use 0 to use unlimited
157+
memory and disable on-disk caching. Use -1 to use
158+
only on-disk caching. [default: 10000]
159+
--max-depth INTEGER Maximum nesting depth of subdirectories to scan.
160+
Descend at most INTEGER levels of directories below
161+
and including the starting directory. Use 0 for no
162+
scan depth limit.
164163

165164
documentation:
166165
-h, --help Show this message and exit.

0 commit comments

Comments
 (0)