GNU bug report logs - #59961
[PATCH] ; * lib-src/emacsclient.c: Add parameters option information.

Previous Next

Package: emacs;

Reported by: lu4nx <lx <at> shellcodes.org>

Date: Sun, 11 Dec 2022 09:34:02 UTC

Severity: minor

Tags: patch, wontfix

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: lu4nx <lx <at> shellcodes.org>
Cc: 59961 <at> debbugs.gnu.org
Subject: bug#59961: [PATCH] ; * lib-src/emacsclient.c: Add parameters option information.
Date: Sun, 11 Dec 2022 12:26:16 +0200
> Cc: lu4nx <lx <at> shellcodes.org>
> From: lu4nx <lx <at> 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?




This bug report was last modified 1 year and 214 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.