adactl_fix - Ada rules controller, automatic fixer
adactl_fix [-v] [-o output prefix] file ...
adactl_fix reads the indicated files, as produced by adactl, and performs the corresponding fixes. The modified files are printed on the standard output, which can be redirected to a file for later splitting at an appropriate place with gnatchop.
This command line tool directly edits source files. A similar interactive tool is provided as a gnat-gps plugin. If you select this tool, you should read the related section of the reference manual before using it.
AdaControl is an Ada rules controller. It is used to control that Ada software meets the requirements of a number of parameterizable rules. It is not intended to supplement checks made by the compiler, but rather to search for particular violations of good-practice rules, or to check that some rules are obeyed project-wide.
Commercial support is available for AdaControl, see file /usr/share/doc/adacontrol/support.txt. If you plan to use AdaControl for industrial projects, or if you want it to be customized or extended to match your own needs, please contact Adalog at email@example.com.
- -o output_prefix
- Output each modified file to a file whose name is obtained by prefixing output_prefix to the original name of the corresponding source file. The prefix can be any string, and is not analyzed by Adactl_Fix. A prefix like result/ will result in all the output going to the directory result, with the same name as the original. Alternatively, a prefix like new- will result in all output files being in the same directory. Adactl_Fix will overwrite any existing file with the same name.
- Display actions to standard output.
- Print a brief help message and exits, ignoring all other options and parameters.
This manual page was written by Nicolas Boulenguez <firstname.lastname@example.org> and is licensed under terms of the GNU General Public License.
AdaControl User's Guide, available in Info, PDF, and HTML in /usr/share/doc/adacontrol.
AdaControl Programmer's Guide, available in Info, PDF, and HTML in /usr/share/doc/adacontrol.