[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] hello: remove -h and -v short options
From: |
Benno Schulenberg |
Subject: |
Re: [PATCH 2/2] hello: remove -h and -v short options |
Date: |
Sun, 04 Jan 2015 11:17:42 +0100 |
On Sat, Jan 3, 2015, at 17:38, Reuben Thomas wrote:
> I think the reasoning for hello (and other programs) often eschewing short
> options for --help and --version is that the letters -h and -v may often be
> useful for other more frequently-used options, e.g. -v for --verbose.
Okay.
> > Long options are nice for scripts, for clarity, so commands don't
> > need comments. Short options are great (nearly essential) for
> > typing things on the command line.
>
> Less so now that we have bash-completion.
Ah! I didn't know that bash, besides command completion,
could do option completion too.
> Also, given an unknown program, it's more likely that --version or --help
> will succeed,
True.
> So, given the tendency of GNU programs not to have short equivalents for
> these two options, I don't see why hello should have them.
Yeah, I was thinking too much of util-linux stuff instead of GNU stuff.
Seeing also Jim's arguments, and --help and --version not being
options one tends to type daily, I surrender my objections.
Benno
--
http://www.fastmail.com - Choose from over 50 domains or use your own
[PATCH 1/2] hello: slice print_help() lines and add Translation Project address, Sami Kerola, 2015/01/01