Command Line Options
G-Pilot supports several command line switches that control logging, configuration format and console behavior.
Available options
-lor--log-to-file– Enable logging debug information toGPilot.logfile.-tor--trim-log– ClearGPilot.logfile at startup (use together with log-to-file).-cor--config-type <type>– Select configuration file format. Available types:ini,json,xml. Default:ini.-coor--console– Open G-Pilot with a console window (for debugging). Windows only.
Examples
G-Pilot.exe --log-to-file --trim-log --config-type json
G-Pilot.exe --console
You can combine options as needed. For more details see main.cpp in the source code.