@@ -67,12 +67,12 @@ def main():
67
67
help = "Check for similarities between all files of the specified directories." )
68
68
group .add_argument ('-f' , "--files" , nargs = "+" , help = "Check for similarities between specified files. \
69
69
The more files are supplied the more accurate are the results." )
70
- parser .add_argument ("--ignore-directories" , nargs = "+" ,
70
+ parser .add_argument ("--ignore-directories" , nargs = "+" , default = list (),
71
71
help = "Directories to ignore." )
72
72
parser .add_argument ("--ignore-files" , nargs = "+" , help = "Files to ignore." )
73
73
parser .add_argument ("-j" , "--json" , type = bool ,
74
74
default = False , help = "Print output as JSON." )
75
- parser .add_argument ("--project-root-dir" , type = str ,
75
+ parser .add_argument ("--project-root-dir" , type = str , default = str (),
76
76
help = "The relative path to the project root directory to be removed when printing out results." )
77
77
parser .add_argument ("--file-extensions" , nargs = "+" , default = source_code_file_extensions ,
78
78
help = "File extensions to check for similarities." )
0 commit comments