interpreter&vm: handle multi-iterator
[nit.git] / share / man / nitx.md
index c655110..2b6f8ba 100644 (file)
@@ -1,5 +1,3 @@
-% NITX(1)
-
 # NAME
 
 nitx - displays specific pieces of API information from Nit source files.
@@ -10,36 +8,46 @@ nitx [*options*] FILE [COMMAND]
 
 # DESCRIPTION
 
-`nitx` in an interactive tool that display information about programs and libraries.
+`nitx` in an interactive tool that displays informations about programs and libraries.
 
-A command that query some information can be given as and argument.
+A command that query some information can be given as parameter.
 This will immediately displays the information then terminates the programs.
 
 If no command are given, the program starts an interactive session where commands are entered until `:q` is given.
 
 # COMMANDS
 
-`name`
-:   lookup module, class and property with the corresponding 'name'.
+### `name`
+lookup module, class and property with the corresponding 'name'.
+
+### `param: Type`
+lookup methods using the corresponding 'Type' as parameter.
+
+### `return: Type`
+lookup methods returning the corresponding 'Type'.
+
+### `new: Type`
+lookup methods creating new instances of 'Type'.
 
-`param: Type`
-:   lookup methods using the corresponding 'Type' as parameter.
+### `call: Property`
+lookup calls to 'Property'.
 
-`return: Type`
-:   lookup methods returning the corresponding 'Type'.
+### `doc: name`
+lookup documentation pages about 'name'.
 
-`new: Type`
-:   lookup methods creating new instances of 'Type'.
+### `code: name`
+lookup source code related to 'name'.
 
-`:h`
-:   display an help message about the commands.
+### `:h`
+display an help message about the commands.
 
-`:q`
-:   exit the tool.
+### `:q`
+exit the tool.
 
 # OPTIONS
 
-Only common options of the Nit tools are understood.
+### `-q`
+execute a query, display results in console then quit.
 
 # SEE ALSO