Commits

jcristau committed 5aa6eda

Fix --ignore option documentation to match reality (closes #22273)

The option can only be passed once, but it takes a list of file names.

Comments (0)

Files changed (3)

 ChangeLog for PyLint
 ====================
 
-
+--
     * #69738: add regular expressions support for "generated-members"
 
     * ids of logging and string_format checkers have been changed:
 
     * #70495: absolute imports fail depending on module path (patch by Jacek Konieczny)
 
+    * #22273: Fix --ignore option documentation to match reality
+
 
 2011-01-11  --  0.23.0
     * documentation update, add manpages
     may_be_disabled = False
 
     options = (('ignore',
-                {'type' : 'csv', 'metavar' : '<file>',
+                {'type' : 'csv', 'metavar' : '<file>[,<file>...]',
                  'dest' : 'black_list', 'default' : ('CVS',),
-                 'help' : 'Add <file or directory> to the black list. It \
-should be a base name, not a path. You may set this option multiple times.'}),
-
+                 'help' : 'Add files or directories to the blacklist. \
+They should be base names, not paths.'}),
                ('persistent',
                 {'default': True, 'type' : 'yn', 'metavar' : '<y_or_n>',
                  'level': 1,
 Python code to execute, usually for sys.path manipulation such as pygtk.require().
 .IP "--errors-only, -E"
 In error mode, checkers without error messages are disabled and for others, only the ERROR messages are displayed, and no reports are done by default
-.IP "--ignore=<file>"
-Add <file or directory> to the black list. It should be a base name, not a path. You may set this option multiple times. [current: CVS]
+.IP "--ignore=<file>[,<file>...]"
+Add files or directories to the blacklist. They should be base names, not paths.
 .IP "--persistent=<y_or_n>"
 Pickle collected data for later comparisons. [current: yes]
 .IP "--load-plugins=<modules>"