[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17674: 24.3; "emacs --batch -batch" fails with "Unknown option `-bat
From: |
Andreas Schwab |
Subject: |
bug#17674: 24.3; "emacs --batch -batch" fails with "Unknown option `-batch'" |
Date: |
Tue, 03 Jun 2014 11:37:13 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Ulrich Mueller <ulm@gentoo.org> writes:
> $ emacs --batch -batch; echo $?
> Unknown option `-batch'
> 255
> $ emacs -batch --batch; echo $?
> Unknown option `--batch'
> 255
Also emacs --bat --batch. sort_args in emacs.c can only remove
duplicates that match exactly. All arguments handled in main are
affected.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."