From dc1cc9448bc0b811e11e447d2a81fd1a7279c554 Mon Sep 17 00:00:00 2001 From: HenrikSydow Date: Sun, 20 Oct 2024 17:17:57 +0200 Subject: [PATCH] fix: cli param type --- pycycle/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pycycle/cli.py b/pycycle/cli.py index 3985fdd..048adfb 100644 --- a/pycycle/cli.py +++ b/pycycle/cli.py @@ -39,7 +39,7 @@ def format_help(_help): @click.group(invoke_without_command=True) @click.option('--verbose', is_flag=True, default=False, help="Verbose output.") @click.option('--here', is_flag=True, default=False, help="Try to find cycles in the current project.") -@click.option('--source', default=False, help="Try to find cycles in the path provided.") +@click.option('--source', default='', help="Try to find cycles in the path provided.") @click.option('--ignore', default='', help="Comma separated directories that will be ignored during analysis.") @click.option('--encoding', default=None, help="Change enconding with which the project is read.") @click.option('--help', is_flag=True, default=None, help="Show this message then exit.")