Subject: Feature request: ignore --help in --script mode
From: Clément Pit--Claudel <[email-masked]>
To: [email-masked]
Date: Thu, 9 Feb 2017 16:00:59 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi bug-gnu-emacs,

Event with --script, Emacs still displays its help when passed --help.  This is confusing for users (they might write emacs --script some-script.el --help expecting to get help on the script, but instead they get Emacs' help), and it force ELisp scripts to use --usage or some other harder-to-guess synonym.

Could this be changed so that emacs --script a.el --help does not show Emacs' help?

More generally, could we guarantee that options that appear *after* "--script" aren't processed by Emacs itself (and instead left to the script)?  Or would that break things?

Thanks!
Clément.