x86_64-linux-gnu-gnatfind --version (return code: 0)
GNATFIND 7.2.0
Copyright (C) 1998-2017, Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
x86_64-linux-gnu-gnatfind --help (return code: 0)
Usage: gnatfind pattern[:sourcefile[:line[:column]]] [file1 file2 ...]
pattern Name of the entity to look for (can have wildcards)
sourcefile Only find entities referenced from this file
line Only find entities referenced from this line of file
column Only find entities referenced from this columns of file
file ... Set of Ada source files to search for references. This parameters are optional
gnatfind switches:
--version Display version and exit
--help Display usage and exit
-a Consider all files, even when the ali file is readonly
-aIdir Specify source files search path
-aOdir Specify library/object files search path
-d Output derived type information
-e Use the full regular expression set for pattern
-f Output full path name
-g Output information only for global symbols
-Idir Like -aIdir -aOdir
-nostdinc Don't look for sources in the system default directory
-nostdlib Don't look for library files in the system default directory
--ext=xxx Specify alternate ali file extension
--RTS=dir specify the default source and object search path
-p file Use file as the default project file
-r Find all references (default to find declaration only)
-s Print source line
-t Print type hierarchy
Report bugs to report@adacore.com