unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#25670: Feature request: ignore --help in --script mode
@ 2017-02-09 21:00 Clément Pit--Claudel
  2017-02-10  4:40 ` Glenn Morris
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Clément Pit--Claudel @ 2017-02-09 21:00 UTC (permalink / raw)
  To: 25670


[-- Attachment #1.1: Type: text/plain, Size: 619 bytes --]

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.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-02-18 14:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-09 21:00 bug#25670: Feature request: ignore --help in --script mode Clément Pit--Claudel
2017-02-10  4:40 ` Glenn Morris
2017-02-10 15:05 ` Ted Zlatanov
2017-02-10 16:52   ` Clément Pit--Claudel
2017-02-10 17:36     ` Glenn Morris
2017-02-10 20:23       ` Clément Pit--Claudel
2017-02-18  9:59 ` Eli Zaretskii
2017-02-18 13:46   ` Clément Pit--Claudel
2017-02-18 14:18     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).