unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: jaalto <jari.aalto@cante.net>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: 7622@debbugs.gnu.org
Subject: bug#7622: [PATCH] lib-src/emacsclient.c: Change -H to -h. Order options alphabetically
Date: Wed, 11 Apr 2012 08:21:52 +0300	[thread overview]
Message-ID: <20120411052152.GO13747@taiko.cante.net> (raw)
In-Reply-To: <m3y5q3p2ru.fsf@stories.gnus.org>

On 2012-04-11 01:48, Lars Magne Ingebrigtsen wrote:
| Jari Aalto <jari.aalto@cante.net> writes:
| 
| > The patch changes help option to lowercase -h like found e.g. in GNU
| > cp(1). The option help is also presented alphabetically.
| 
| [larsi@stories ~/src/emacs/trunk]$ cp -h
| cp: invalid option -- 'h'
| 
| So I don't think this change would be correct.

I remembered wrong. GNU uses --long options for cp(1) and mv(1); I
assume because it wanted to reserve all short options.

But almot universally lowercase -h, is understood as a synonym for
--help. At least for emacsclient that would work well as there are no
conflicting options[*].

The patch would also make the listing a little easier; alphabetical as
in GNU programs in general.

Jari

[*] -H and -h could have been taken to mean something else for
historical reasons in other programs.





      reply	other threads:[~2012-04-11  5:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-12 14:48 bug#7622: [PATCH] lib-src/emacsclient.c: Change -H to -h. Order options alphabetically Jari Aalto
2012-04-10 23:48 ` Lars Magne Ingebrigtsen
2012-04-11  5:21   ` jaalto [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120411052152.GO13747@taiko.cante.net \
    --to=jari.aalto@cante.net \
    --cc=7622@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).