Revision 1 of 3, by Trev on 5-28-2022. The page as it is now.
Lazarus command line options
lazarus [options] <project-filename>
<table> <thead> <tr> <th>option</th> <th>short</th> <th>description</th> </tr> </thead> <tbody> <tr> <td>--help</td> <td>-?</td> <td>this help message</td> </tr> <tr> <td>--version</td> <td>-v</td> <td>show version and exit</td> </tr> <tr> <td>--quiet</td> <td></td> <td>be less verbose, can be given multiple times</td> </tr> <tr> <td>--verbose</td> <td></td> <td>be more verbose, can be given multiple times</td> </tr> <tr> <td>--setup</td> <td></td> <td>Show setup dialog for most important settings</td> </tr> <tr> <td>--primary-config-path=<path></td> <td>--pcp=<path></td> <td>primary config directory where Lazarus stores its config files. Default is /home/USER/.lazarus</td> </tr> <tr> <td>--secondary-config-path= <path></td> <td>--scp=<path></td> <td>secondary config directory where Lazarus searches for config template files. Default is /etc/lazarus</td> </tr> <tr> <td>--debug-log= <file></td> <td></td> <td>file where debug output is written to. If it is not specified, debug output is written to the console.</td> </tr> <tr> <td>--debug-enable= [[-]OptName][,[-]OptName][...]</td> <td></td> <td>Enable or Disable groups of debug output. Valid Options are:<br /> DBG_VERBOSE, DBG_WARNINGS, DBG_STATE. DBG_EVENTS, DBG_STATE_EVENT, DBG_DATA_MONITORS, DBG_DISASSEMBLER, DBG_LOCATION_INFO, SYNMOUSEEVENTS, SRCED_LOCK, SRCED_OPEN, SRCED_CLOSE, SRCED_PAGES, DBG_CMD_ECHO, DBG_CMD_ECHO_FULL, DBGMI_TYPE_INFO, DBGMI_TIMEOUT_DEBUG, DBG_THREAD_AND_FRAME, DBGMI_QUEUE_DEBUG, DBGMI_STRUCT_PARSER, FPDBG_VERBOSE_MEM, FPDBG_THREADS, DBG_ERRORS, FPDBG_DWARF_VERBOSE, FPDBG_DWARF_ERRORS, FPDBG_DWARF_WARNINGS, FPDBG_DWARF_SEARCH, FPDBG_DWARF_DATA_WARNINGS, FPDBG_QUEUE, DBG_BREAKPOINTS, FPDBG_COMMANDS</td> </tr> <tr> <td>--no-splash-screen</td> <td>--nsc</td> <td>Do not show splash screen</td> </tr> <tr> <td>--force-new-instance</td> <td></td> <td>Do not check if another IDE instance is already running</td> </tr> <tr> <td>--skip-last-project</td> <td></td> <td>Skip loading last project</td> </tr> <tr> <td>--language=</td> <td></td> <td>Override language. For example --language=de. For possible values see files in the languages directory.</td> </tr> <tr> <td>--lazarusdir=<dir></td> <td></td> <td>directory to be used as a basedirectory</td> </tr> <tr> <td>--lcl-no-transient</td> <td></td> <td>Do not set transient order for modal forms</td> </tr> <tr> <td>--gtk-module module</td> <td></td> <td>Load the specified module at startup.</td> </tr> <tr> <td>--g-fatal-warnings</td> <td></td> <td>Warnings and errors generated by Gtk+/GDK will halt the application.</td> </tr> <tr> <td>--gtk-debug flags</td> <td></td> <td>Turn on specific Gtk+ trace/debug messages.</td> </tr> <tr> <td>--gtk-no-debug flags</td> <td></td> <td>Turn off specific Gtk+ trace/debug messages.</td> </tr> <tr> <td>--gdk-debug flags</td> <td></td> <td>Turn on specific GDK trace/debug messages.</td> </tr> <tr> <td>--gdk-no-debug flags</td> <td></td> <td>Turn off specific GDK trace/debug messages.</td> </tr> <tr> <td>--display h:s:d</td> <td></td> <td>Connect to the specified X server, where "h" is the hostname, "s" is the server number (usually 0), and "d" is the display number (typically omitted). If --display is not specified, the DISPLAY environment variable is used.</td> </tr> <tr> <td>--sync</td> <td></td> <td>Call XSynchronize (display, True) after the Xserver connection has been established. This makes debugging X protocol errors easier, because X request buffering will be disabled and X errors will be received immediately after the protocol request that generated the error has been processed by the X server.</td> </tr> <tr> <td>--no-xshm</td> <td></td> <td>Disable use of the X Shared Memory Extension.</td> </tr> <tr> <td>--name programe</td> <td></td> <td>Set program name to "progname". If not specified, program name will be set to ParamStrUTF8(0).</td> </tr> <tr> <td>--class classname</td> <td></td> <td>Following Xt conventions, the class of a program is the program name with the initial character capitalized. For example, the classname for gimp is "Gimp". If --class is specified, the class of the program will be set to "classname".</td> </tr> <tr> <td>--disableaccurateframe</td> <td></td> <td>disables fully accurate window frame under X11. This feature is implemented for Qt, Qt5 and Gtk2 interfaces and used mostly by GetWindowRect().</td> </tr> </tbody> </table>
From the Free Pascal wiki, page "Lazarus command line options", as it stood on 2022-05-28 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.
