From: Michael Albinus Date: Thu, 13 Jun 2024 07:29:44 +0000 (+0200) Subject: Adapt emacsclient options in doc X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b7bb01b57cf4fde13b8877bdab6cf131a3b1dc3b;p=emacs.git Adapt emacsclient options in doc * doc/emacs/misc.texi (emacsclient Options): * doc/man/emacsclient.1: Adapt option list. (cherry picked from commit 8eeb159b95130a0dc29040ffa9f330874576964e) --- diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index 68ea030e219..13d86a32e79 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi @@ -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} diff --git a/doc/man/emacsclient.1 b/doc/man/emacsclient.1 index 75f38e4e50e..8ceca65d7b1 100644 --- a/doc/man/emacsclient.1 +++ b/doc/man/emacsclient.1 @@ -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