We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75cbe79 commit 8ccd570Copy full SHA for 8ccd570
scripts/cpplint.py
@@ -77,9 +77,15 @@
77
78
Flags:
79
80
- output=vs7
+ output=emacs|vs7|eclipse|sed|gsed
81
By default, the output is formatted to ease emacs parsing. Visual Studio
82
- compatible output (vs7) may also be used. Other formats are unsupported.
+ (vs7) or eclipse (eclipse) compatible output may also be used.
83
+
84
+ The sed format outputs sed commands that should fix the reported errors.
85
+ Note that this requires gnu sed. If that is installed as gsed on your system
86
+ (common on MacOS e.g. with homebrew) you can use the gsed output format.
87
+ Sed commands are written to stdout, not stderr, so you should be able to
88
+ pipe output straight to bash to run the fixes.
89
90
verbose=#
91
Specify a number 0-5 to restrict errors to certain verbosity levels.
0 commit comments