symilar -V (return code: 1)
Traceback (most recent call last):
File "/home/samuel/.local/bin/symilar", line 11, in <module>
sys.exit(run_symilar())
File "/home/samuel/.local/lib/python2.7/site-packages/pylint/__init__.py", line 29, in run_symilar
Run(sys.argv[1:])
File "/home/samuel/.local/lib/python2.7/site-packages/pylint/checkers/similar.py", line 341, in Run
opts, args = getopt(argv, s_opts, l_opts)
File "/usr/lib/python2.7/getopt.py", line 88, in getopt
opts, args = do_longs(opts, args[0][2:], longopts, args[1:])
File "/usr/lib/python2.7/getopt.py", line 152, in do_longs
has_arg, opt = long_has_args(opt, longopts)
File "/usr/lib/python2.7/getopt.py", line 169, in long_has_args
raise GetoptError('option --%s not recognized' % opt, opt)
getopt.GetoptError: option --version not recognized
symilar --help (return code: 0)
finds copy pasted blocks in a set of files
Usage: symilar [-d|--duplicates min_duplicated_lines] [-i|--ignore-comments] [--ignore-docstrings] [--ignore-imports] file1...