From 958850781e5a9ec899f8627d4e4329c45ce9e938 Mon Sep 17 00:00:00 2001 From: Sylvain Th?nault Date: Wed, 25 Sep 2013 08:53:36 +0200 Subject: [doc] enhance description of new output format a bit --- doc/output.rst | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/doc/output.rst b/doc/output.rst index e698271..3a87547 100644 --- a/doc/output.rst +++ b/doc/output.rst @@ -33,13 +33,25 @@ C category fullname of the message category -For exemple the default format can be obtained with:: +For exemple the former (pre 1.0) default format can be obtained with:: pylint --msg-template='{msg_id}:{line:3d},{column}: {obj}: {msg}' -and a Visual Studio compatible format can be obtained with:: +A few other examples: + +* the new default format:: + + {C}:{line:3d},{column:2d}: {msg} ({symbol}) + +* Visual Studio compatible format (former 'msvs' output format):: + + {path}({line}): [{msg_id}{obj}] {msg} + +* Parseable (Emacs and all, former 'parseable' output format) format:: + + {path}:{line}: [{msg_id}({symbol}), {obj}] {msg} + - pylint --msg-template='{path}({line}): [{msg_id}{obj}] {msg}' .. _Python new format syntax: http://docs.python.org/2/library/string.html#formatstrings -- cgit v1.2.1