‘-a COMMAND’ ‘--alternate-editor=COMMAND’
Specify a command to run if ‘emacsclient’ fails to contact Emacs. This is useful when running ‘emacsclient’ in a script.
As a special exception, if COMMAND is the empty string, then ‘emacsclient’ starts Emacs in daemon mode (as ‘emacs --daemon’) and then tries connecting again.
‘-c’ ‘--create-frame’
Create a new graphical “client frame”, instead of using an existing Emacs frame.
See below for the special behavior of ‘C-x C-c’ in a client frame.
If Emacs cannot create a new graphical frame (e.g., if it cannot connect to the X server), it tries to create a text terminal client frame, as though you had supplied the ‘-t’ option instead.
‘-t’ ‘--tty’ ‘-nw’
Create a new client frame on the current text terminal, instead of using an existing Emacs frame.
This behaves just like the ‘-c’ option, described above, except that it creates a text terminal frame (*note Non-Window Terminals::).