Source Code Formatter
Copyright (c) 2010, Embarcadero Technologies Inc.
Syntax:
Formatter [<options>] [<filename>]...
Options:
-cpp Format only C/C++ sources.
-delphi Format only Delphi sources.
-config configfile Configuration file name. This file contains Formatter options and can be managed
using RAD Studio IDE ('Tools > Options > Formatter > Profiles and Status' page).
-e encoding Encoding for reading/writing.
-d directory Directory for files to format. If no <filename> is defined, all supported files
in the <directory> (or matching the '-cpp' or '-delphi' option) will be formatted.
-r Format files recursively in the <directory> and all subdirectories.
-b Create .bak files before formatting.
-log logfile Log file name.
-silent Do not display error messages.
<filename> Source file name. You can specify several <filename> separated by spaces.
Wild characters '*' and '?' can be used. To format a file with an unknown extension
you should specify the language using the '-cpp' or '-delphi' option.
Predefined file name extensions:
C/C++ source files: *.cpp, *.cxx, *.cc, *.c, *.hpp, *.hxx, *.hh, *.h
Delphi source files : *.pas, *.dpr, *.dpk, *.dpkw, *.inc