OS Manuals

/usr/bin/protolint

Linter and formatter for Protocol Buffer files

From protolint 0.58.0-r5 (enterprise-packages), captured 2026-11-08 by running protolint --help (exit 0). permalink

Usage of lint:
  -add-reporter value
    	Adds a reporter to the list of reporters to use. The format should be 'name of reporter':'Path-To_output_file'
  -auto_disable value
    	mode that the command line automatically disable some of the problems. Available auto_disable are "next" and "this".
  -config_dir_path string
    	path/to/the_directory_including_protolint.yaml
  -config_path string
    	path/to/protolint.yaml. Note that if both are set, config_dir_path is ignored.
  -fix
    	mode that the command line automatically fix some of the problems
  -no-error-on-unmatched-pattern
    	exits with 0 when no file is matched
  -output_file string
    	path/to/output.txt
  -plugin value
    	plugins to provide custom lint rule set. Note that it's necessary to specify it as path format'
  -reporter value
    	formatter to output results in the specific format. Available reporters are "plain"(default), "junit", "json", "sarif", and "unix".
  -stdin_filename string
    	a filename for the text passed via stdin. (default "stdin.proto")
  -v	verbose output that includes parsing process details
Options (11)
OptionDescriptionSource
-add-reporter valueAdds a reporter to the list of reporters to use.help
-auto_disable valuemode that the command line automatically disable some of the problems.help
-config_dir_path stringpath/to/the_directory_including_protolint.yamlhelp
-config_path stringpath/to/protolint.yaml.help
-fixmode that the command line automatically fix some of the problemshelp
-no-error-on-unmatched-patternexits with 0 when no file is matchedhelp
-output_file stringpath/to/output.txthelp
-plugin valueplugins to provide custom lint rule set.help
-reporter valueformatter to output results in the specific format.help
-stdin_filename stringa filename for the text passed via stdin.help
-vverbose output that includes parsing process detailshelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.