Adapt emacsclient options in doc

* doc/emacs/misc.texi (emacsclient Options):
* doc/man/emacsclient.1: Adapt option list.
This commit is contained in:
Michael Albinus 2024-06-13 09:29:44 +02:00
parent 0007231a78
commit 8eeb159b95
2 changed files with 11 additions and 2 deletions

View file

@ -2157,6 +2157,7 @@ overrides the environment variable.)
@item -t
@itemx --tty
@itemx -nw
@itemx --no-window-system
Create a new client frame on the current text terminal, instead of
using an existing Emacs frame. This behaves just like the @samp{-c}
option, described above, except that it creates a text terminal frame
@ -2212,6 +2213,14 @@ remote$ export EDITOR=emacsclient
remote$ $EDITOR /tmp/foo.txt #Should open in local emacs.
@end example
@item -V
@itemx --version
Print version information and exit.
@item -H
@itemx --help
Print usage information message and exit.
@end table
The new graphical or text terminal frames created by the @samp{-c}

View file

@ -1,5 +1,5 @@
.\" See section COPYING for conditions for redistribution.
.TH EMACSCLIENT 1 "2023-12-23" "GNU Emacs" "GNU"
.TH EMACSCLIENT 1 "2024-06-13" "GNU Emacs" "GNU"
.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
.\" other params are allowed: see man(7), man(1)
.SH NAME
@ -125,7 +125,7 @@ Relative filenames are relative to "$XDG_RUNTIME_DIR/emacs/" or "$TMPDIR/".
See also the EMACS_SOCKET_NAME environment variable, over which this
option takes precedence.
.TP
.B \-nw, \-t, \-\-tty
.B \-nw, \-t, \-\-tty, \-\-no-window-system
Open a new Emacs frame on the current terminal.
.TP
.B \-T, \-\-tramp=PREFIX