GNU bug report logs - #25670
Feature request: ignore --help in --script mode

Previous Next

Package: emacs;

Reported by: Clément Pit--Claudel <clement.pitclaudel <at> live.com>

Date: Thu, 9 Feb 2017 21:02:02 UTC

Severity: wishlist

Done: Clément Pit--Claudel <clement.pitclaudel <at> live.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Clément Pit--Claudel <clement.pitclaudel <at> live.com>
To: 25670 <at> debbugs.gnu.org
Subject: bug#25670: Feature request: ignore --help in --script mode
Date: Thu, 9 Feb 2017 16:00:59 -0500
[Message part 1 (text/plain, inline)]
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.

[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 8 years and 97 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.