bug-hello
[Top][All Lists]
Advanced

[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: Sat, 03 Jan 2015 15:06:03 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

On 2015-01-01 14:33, Sami Kerola wrote:
> * src/hello.c: Remove -h and -v options, and leave --help and --version
>   as they were.

Ouch, ouch, ouch!

Maybe the GNU standards say nothing about short options, but it
is *so* much a custom for command-line tools to recognize -h and
-V for --help and --version, that I don't think it is a good idea
to show as an example-to-be-imitated these two long options without
any corresponding short options.  You may wish to poke some GNU
people about this directly.  Karl Berry?  Eric Blake?  Maybe
mister Stallman himself?

Also, if you remove -h and -v, why not also remove -g and -t?

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.

Benno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]