bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#59961: [PATCH] ; * lib-src/emacsclient.c: Add parameters option info


From: Eli Zaretskii
Subject: bug#59961: [PATCH] ; * lib-src/emacsclient.c: Add parameters option information.
Date: Sun, 11 Dec 2022 12:26:16 +0200

> Cc: lu4nx <lx@shellcodes.org>
> From: lu4nx <lx@shellcodes.org>
> Date: Sun, 11 Dec 2022 17:32:32 +0800
> 
> ---
>  lib-src/emacsclient.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
> index af488128ba..a0c5b84bc5 100644
> --- a/lib-src/emacsclient.c
> +++ b/lib-src/emacsclient.c
> @@ -1669,10 +1669,10 @@ set_socket (bool no_exit_if_error)
>    /* No implicit or explicit socket, and no alternate editor.  */
>    message (true, "%s: No socket or alternate editor.  Please use:\n\n"
>  #ifdef SOCKETS_IN_FILE_SYSTEM
> -"\t--socket-name\n"
> +"\t--socket-name=SOCKET\n"
>  #endif
> -"\t--server-file      (or environment variable EMACS_SERVER_FILE)\n\
> -\t--alternate-editor (or environment variable ALTERNATE_EDITOR)\n",
> +"\t--server-file=SERVER      (or environment variable EMACS_SERVER_FILE)\n\
> +\t--alternate-editor=EDITOR (or environment variable ALTERNATE_EDITOR)\n",
>             progname);
>    exit (EXIT_FAILURE);
>  }

The --help message already says that.  Why do we need that in an error
message as well?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]