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

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

bug#24949: Command-line argument parsing: named daemons


From: Philipp Stephani
Subject: bug#24949: Command-line argument parsing: named daemons
Date: Wed, 06 Sep 2017 17:33:33 +0000



Eli Zaretskii <address@hidden> schrieb am Mi., 16. Nov. 2016 um 04:40 Uhr:

> This starts a daemon with a server named "FOO":
>    emacs -Q --daemon=FOO
>
> (This usage is documented in the "Initial Options" appendix of the
> manual, but not mentioned in --help, or the man page.)
>
>
> But this very similar form does not work (it starts an un-named daemon and
> visits file "FOO"):
>    emacs -Q --daemon FOO
>
> Compare with something like "--chdir /tmp", where both forms (with and
> without "=") work.

I wouldn't expect it to work, since long options are documented to
need the equals sign.

This is incredibly surprising and also inconsistent with the man page, which doesn't have equals signs for most options. Let's just document what everybody expects, i.e. that all options work with and without equals sign, and with one or two dashes. 

reply via email to

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