Go to: Synopsis. Return value. Flags. MEL examples.

Synopsis

quit [-abort] [-exitCode uint] [-force]

quit is undoable, queryable, and editable.

This command is used to exit the application.

Return value

None

In query mode, return type is based on queried flag.

Flags

abort, exitCode, force
Long name (short name) argument types Properties
-force(-f) create
If specified, this flag will force a quit without saving or prompting for saving changes. Use at your own risk.
-exitCode(-ec) uint create
Specifies the exit code to be returned once the application exits. The default exit code is 0.
-abort(-a) create
Will quit without saving like -force, but will also prevent preferences/hotkeys/colors from being saved. Use at your own risk.

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command

MEL examples

quit;
quit -force;