share: generate stubs for manpages
[nit.git] / share / man / nit.md
1 % NIT(1)
2
3 # NAME
4
5 Interprets and debugs Nit programs.
6
7 # SYNOPSYS
8
9 nit [*options*]...
10
11 # OPTIONS
12
13 `-W`, `--warn`
14 :   Show more warnings
15
16 `-w`, `--warning`
17 :   Show/hide a specific warning
18
19 `-q`, `--quiet`
20 :   Do not show warnings
21
22 `--stop-on-first-error`
23 :   Stop on first error
24
25 `--no-color`
26 :   Do not use color to display errors and warnings
27
28 `--log`
29 :   Generate various log files
30
31 `--log-dir`
32 :   Directory where to generate log files
33
34 `-h`, `-?`, `--help`
35 :   Show Help (This screen)
36
37 `--version`
38 :   Show version and exit
39
40 `--set-dummy-tool`
41 :   Set toolname and version to DUMMY. Useful for testing
42
43 `-v`, `--verbose`
44 :   Verbose
45
46 `--bash-completion`
47 :   Generate bash_completion file for this program
48
49 `--stub-man`
50 :   Generate a stub manpage in pandoc markdown format
51
52 `--disable-phase`
53 :   DEBUG: Disable a specific phase; use `list` to get the list.
54
55 `-I`, `--path`
56 :   Set include path for loaders (may be used more than once)
57
58 `--only-parse`
59 :   Only proceed to parse step of loaders
60
61 `--only-metamodel`
62 :   Stop after meta-model processing
63
64 `--ignore-visibility`
65 :   Do not check, and produce errors, on visibility issues.
66
67 `--discover-call-trace`
68 :   Trace calls of the first invocation of a method
69
70 `-d`
71 :   Launches the target program with the debugger attached to it
72
73 `-c`
74 :   Launches the target program with the interpreter, such as when the program fails, the debugging prompt is summoned
75
76 `--socket`
77 :   Launches the target program with raw output on the network via sockets
78
79 `--websocket`
80 :   Launches the target program with output on the network via websockets
81
82 `--port`
83 :   Sets the debug port (Defaults to 22125) - Must be contained between 0 and 65535
84
85 `-o`
86 :   compatibility (does noting)
87
88 `-m`
89 :   Additionals module to min-in
90
91 `-e`
92 :   Specifies the program from command-line
93
94 `-n`
95 :   Repeatedly run the program for each line in file-name arguments
96
97 # SEE ALSO
98
99 The Nit language documentation and the source code of its tools and libraries may be downloaded from <http://nitlanguage.org>