Re: [PATCH] bash: add completions

2023-09-28 Thread Jean Delvare
Hi Ville, On Mon, 18 Sep 2023 22:29:58 +0300, Ville Skyttä wrote: > On Mon, 18 Sept 2023 at 15:56, Jean Delvare wrote: > > > Hi Ville, > > > > On Sat, 22 Jul 2023 22:55:31 +0300, Ville Skyttä wrote: > > > Offer only long options, but recognize short ones, too, per rationale at > > > > >

Re: [PATCH] bash: add completions

2023-09-18 Thread Ville Skyttä
On Mon, 18 Sept 2023 at 16:06, Jean Delvare wrote: > Hi Ville, > > On Sun, 23 Jul 2023 10:01:34 +0300, Ville Skyttä wrote: > > On Sat, 22 Jul 2023 at 22:55, Ville Skyttä wrote: > > [...] > > > diff --git a/dmidecode.bash b/dmidecode.bash > > [...] > > > + -s | --string) > > > +

Re: [PATCH] bash: add completions

2023-09-18 Thread Ville Skyttä
On Mon, 18 Sept 2023 at 15:56, Jean Delvare wrote: > Hi Ville, > > On Sat, 22 Jul 2023 22:55:31 +0300, Ville Skyttä wrote: > > Offer only long options, but recognize short ones, too, per rationale at > > >

Re: [PATCH] bash: add completions

2023-09-18 Thread Jean Delvare
Hi Ville, On Sun, 23 Jul 2023 10:01:34 +0300, Ville Skyttä wrote: > On Sat, 22 Jul 2023 at 22:55, Ville Skyttä wrote: > [...] > > diff --git a/dmidecode.bash b/dmidecode.bash > [...] > > + -s | --string) > > + COMPREPLY=($(compgen -W ' > > +

Re: [PATCH] bash: add completions

2023-09-18 Thread Jean Delvare
Hi Ville, On Sat, 22 Jul 2023 22:55:31 +0300, Ville Skyttä wrote: > Offer only long options, but recognize short ones, too, per rationale at > https://github.com/scop/bash-completion/blob/4d0bffb791c34c96114aeb2e4f6726b80aa8698e/CONTRIBUTING.md?plain=1#L136-L153 > > Signed-off-by: Ville Skyttä

Re: [PATCH] bash: add completions

2023-07-23 Thread Ville Skyttä
On Sat, 22 Jul 2023 at 22:55, Ville Skyttä wrote: [...] > diff --git a/dmidecode.bash b/dmidecode.bash [...] > + -s | --string) > + COMPREPLY=($(compgen -W ' > + bios-vendor > + bios-version [...] Instead of duplicating the keywords