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

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

bug#63733: 28.3; error ("Unknown option ‘--batch’")


From: Eli Zaretskii
Subject: bug#63733: 28.3; error ("Unknown option ‘--batch’")
Date: Fri, 26 May 2023 13:33:00 +0300

> From: Ulrich Mueller <ulm@gentoo.org>
> Cc: 63733@debbugs.gnu.org
> Date: Fri, 26 May 2023 11:33:33 +0200
> 
> >>>>> On Fri, 26 May 2023, Eli Zaretskii wrote:
> 
> > What happens here is that, when you use identical "-batch" or
> > "--batch" options several times, the code in sort_args removes the
> > identical copies, and we are left with a single option to process.
> > But if you use both "-batch" and "--batch", the extra option is not
> > removed, and they both appear in the sorted argv[].  Then one of them
> > is processed by 'main', the other is left for command-line-1, which
> > doesn't know what to do with it.
> 
> "emacs -quick --quick" or even "emacs -Q -quick --quick" works as
> expected, though.

Because startup.el knows about it.





reply via email to

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