man: rewrite the documentation of the other tools
[nit.git] / share / man / nitpick.md
index f852d27..001a6ce 100644 (file)
@@ -2,67 +2,21 @@
 
 # NAME
 
-Collect potential style and code issues.
+nitpick - collect potential style and code issues.
 
-# SYNOPSYS
+# SYNOPSIS
 
-nitpick [*options*]...
+nitpick [*options*] FILE...
 
-# OPTIONS
-
-`-W`, `--warn`
-:   Show more warnings
-
-`-w`, `--warning`
-:   Show/hide a specific warning
-
-`-q`, `--quiet`
-:   Do not show warnings
-
-`--stop-on-first-error`
-:   Stop on first error
-
-`--no-color`
-:   Do not use color to display errors and warnings
-
-`--log`
-:   Generate various log files
-
-`--log-dir`
-:   Directory where to generate log files
+# DESCRIPTION
 
-`-h`, `-?`, `--help`
-:   Show Help (This screen)
+`nitpick` is a fast code checker.
 
-`--version`
-:   Show version and exit
+It is currently used with the vim syntactic plugin.
 
-`--set-dummy-tool`
-:   Set toolname and version to DUMMY. Useful for testing
-
-`-v`, `--verbose`
-:   Verbose
-
-`--bash-completion`
-:   Generate bash_completion file for this program
-
-`--stub-man`
-:   Generate a stub manpage in pandoc markdown format
-
-`--disable-phase`
-:   DEBUG: Disable a specific phase; use `list` to get the list.
-
-`-I`, `--path`
-:   Set include path for loaders (may be used more than once)
-
-`--only-parse`
-:   Only proceed to parse step of loaders
-
-`--only-metamodel`
-:   Stop after meta-model processing
+# OPTIONS
 
-`--ignore-visibility`
-:   Do not check, and produce errors, on visibility issues.
+Only common options of the Nit tools are understood.
 
 # SEE ALSO