Skip to content

Commit d2c2a14

Browse files
committed
Change option no-cached-results to use-cached-results
Signed-off-by: Jono Yang <jyang@nexb.com>
1 parent 097d73a commit d2c2a14

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/scancode/cli.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -394,11 +394,11 @@ def default_processes():
394394
hidden=True,
395395
help_group=cliutils.MISC_GROUP, sort_order=1000, cls=PluggableCommandLineOption)
396396

397-
@click.option('--no-cached-results',
397+
@click.option('--use-cached-results',
398398
is_flag=True,
399399
default=False,
400400
hidden=True,
401-
help='ScanCode will not use cached results during scan time.',
401+
help='ScanCode will use cached results during scan time.',
402402
help_group=cliutils.CORE_GROUP, sort_order=250, cls=PluggableCommandLineOption)
403403
def scancode(
404404
ctx,
@@ -418,7 +418,7 @@ def scancode(
418418
test_error_mode,
419419
keep_temp_files,
420420
check_version,
421-
no_cached_results,
421+
use_cached_results,
422422
echo_func=echo_stderr,
423423
*args,
424424
**kwargs,
@@ -533,7 +533,7 @@ def scancode(
533533
return_results=False,
534534
echo_func=echo_func,
535535
outdated=outdated,
536-
use_cached_results=not no_cached_results,
536+
use_cached_results=use_cached_results,
537537
*args,
538538
**kwargs
539539
)

0 commit comments

Comments
 (0)