[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] hello: remove -h and -v short options
From: |
Sami Kerola |
Subject: |
Re: [PATCH 2/2] hello: remove -h and -v short options |
Date: |
Sun, 4 Jan 2015 11:22:17 +0000 |
On 4 January 2015 at 10:17, Benno Schulenberg <address@hidden> wrote:
> On Sat, Jan 3, 2015, at 17:38, Reuben Thomas wrote:
>> Less so now that we have bash-completion.
>
> Ah! I didn't know that bash, besides command completion,
> could do option completion too.
Side lining a bit. Do you think hello package should be accompanied
with bash completion example? I cannot see any harm with that,
although I cannot remember any GNU package that would have completions
with them. To be safe side if the completions are added the comments
should tell scripts to be more an example than expectation.
Assuming the add scenario, completion should display long-only
options. IMO from users point of view seing '-t' or '-g' is not
helpful when compared to '--traditional' and '--greeting=TEXT'.
--
Sami Kerola
http://www.iki.fi/kerolasa/
[PATCH 1/2] hello: slice print_help() lines and add Translation Project address, Sami Kerola, 2015/01/01