pylint #19799 "pylint -blah" exit with status 2 [resolved]

while "pylint --help" states:

>> Output status code:
>> Pylint should leave with following status code:
>> * 0 if everything went fine
>> * 1 if some fatal message issued
>> * 2 if some error message issued
>> * 4 if some warning message issued
>> * 8 if some refactor message issued
>> * 16 if some convention message issued
>> * 32 on usage error
>> status 1 to 16 will be bit-ORed so you can know which different
>> categories has been issued by analysing pylint output status code

derek. : Currently bad options such as --blah will be being handled by optparse and thats probably the one responsible for returning the value 2 at the moment.

prioritynormal
typebug
done in0.21.4
load0.200
load left0.000
closed by<not specified>