-% NITPRETTY(1)
-
# NAME
nitpretty - pretty print Nit code from Nit source files.
# OPTIONS
-`--dir`
-: Working directory (default is '.nitpretty')
+### `--dir`
+Working directory (default is '.nitpretty')
+
+### `-o`, `--output`
+Output name (default is pretty.nit)
+
+### `--diff`
+Show diff between source and output
+
+### `--meld`
+Show diff between source and output using meld
+
+### `--check`
+Check format of Nit source files
+
+This option creates a temporary pretty printed file then checks if the output
+of the diff command on the source file and the pretty printed one is empty.
-`-o`, `--output`
-: Output name (default is pretty.nit)
+### `--break-strings`
+Break too long string literals
-`--diff`
-: Show diff between source and output
+### `--inline-do`
+Force do keyword on the same line as the method signature
-`--meld`
-: Show diff between source and output using meld
+### `--skip-empty`
+Force formatting of empty lines
-`--check`
-: Check format of Nit source files
+By default empty lines are kept as they were typed in the file.
+When enabling this option, `nitpretty` will decide where to break lines and
+will put empty lines to separate properties and code blocks.
# SPECIFICATION