Skip to content

Commit b6c7502

Browse files
committed
Set type=bool for version check option
Signed-off-by: Jono Yang <jyang@nexb.com>
1 parent 93a2d69 commit b6c7502

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/scancode/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,7 @@ def default_processes():
376376
@click.option(
377377
"--check-version/--no-check-version",
378378
help="Whether to check for new versions. Defaults to true.",
379+
type=bool,
379380
default=True,
380381
# not yet supported in Click 6.7 but added in PluggableCommandLineOption
381382
hidden=True,

0 commit comments

Comments
 (0)