Command line switches

From Emergent

Jump to: navigation, search

These are standard arguments that you can pass on the command line to control the program's behavior. See also startup program, startup script, nogui run.

Switch Action
a <path> forces app root dir to be <path> (only needed for unusual non-default install)
[-p] <fname>.proj either with -p switch, or by itself, without a switch, will load this project(s) after startup
-d <fname> load defaults from indicated file
-gui (usually optional) runs the program with a gui interface
-nogui runs the program without a gui interface (batch mode)
-version just print the program version and exit
-rct <N> refcount tracing level (for debugging)
-f[ile] <fname> compile the file
-e[xec] <fname> compiled and execute (???) the file
-i[nteractive] run in interactive mode (start a css console and stay in the main event loop)
-ni run in non-interactive mode (don't start the css console and exit after any startup scripts or programs have been run)
-u <path> forces app user dir to be <path> (typically only needed for secondary development folder)
v <N> set init verbosity level to N
-b[p] <N> set init (???) breakpoint level to N
(none) if no .proj, then assumed to be a script argument
-style <style> This is a Qt argument to set the display style (e.g., plastique, cleanlook, cde, motif, windows, macintosh, windows_xp -- also settable in preferences)
-b[p] <N> set a breakpoint at code line <N> (assumes loading a startup script)
(none) if no .proj, then assumed to be a script argument
Personal tools