Next: , Previous: Running gnatls, Up: The GNAT Library Browser gnatls


7.2.2 Switches for gnatls

gnatls recognizes the following switches:

--version
Display Copyright and version, then exit disregarding all other options.

*--help
If `–version' was not used, display usage, then exit disregarding all other options.

-a
Consider all units, including those of the predefined Ada library. Especially useful with `-d'.

-d
List sources from which specified units depend on.

-h
Output the list of options.

-o
Only output information about object files.

-s
Only output information about source files.

-u
Only output information about compilation units.

-files=`file'
Take as arguments the files listed in text file file. Text file file may contain empty lines that are ignored. Each nonempty line should contain the name of an existing file. Several such switches may be specified simultaneously.

-aO`dir', -aI`dir', -I`dir', -I-, -nostdinc
Source path manipulation. Same meaning as the equivalent `gnatmake' flags (Switches for gnatmake).

-aP`dir'
Add dir at the beginning of the project search dir.

--RTS=`rts-path'`
Specifies the default location of the runtime library. Same meaning as the equivalent `gnatmake' flag (Switches for gnatmake).

-v
Verbose mode. Output the complete source, object and project paths. Do not use the default column layout but instead use long format giving as much as information possible on each requested units, including special characteristics such as: