* src/emacs.c (usage_message): Mention named daemon. (Bug#24949)

* doc/man/emacs.1.in: Likewise.
This commit is contained in:
Glenn Morris 2016-11-15 18:21:06 -05:00
parent 8b48e937af
commit 35007ad9da
2 changed files with 7 additions and 5 deletions

View file

@ -123,11 +123,13 @@ Use specified
as the terminal instead of using stdin/stdout.
This must be the first argument specified in the command line.
.TP
.B \-\-daemon
.BI \-\-daemon "\fR[=\fPname\fR]"
Start Emacs as a daemon, enabling the Emacs server and disconnecting
from the terminal. You can then use the emacsclient command to
connect to the server (see
.BR emacsclient (1)).
from the terminal. You can then use the emacsclient (see
.BR emacsclient (1))
command to
connect to the server (with optional
.IR name ")."
.TP
.B \-\-version
Display

View file

@ -223,7 +223,7 @@ Initialization options:\n\
"\
--batch do not do interactive display; implies -q\n\
--chdir DIR change to directory DIR\n\
--daemon start a server in the background\n\
--daemon[=NAME] start a (named) server in the background\n\
--debug-init enable Emacs Lisp debugger for init file\n\
--display, -d DISPLAY use X server DISPLAY\n\
",