#625469 improvements for tar, cryptsetup, imagemagick completions and the _parse_help function

#625469#5
Date:
2011-05-03 17:46:19 UTC
From:
To:
I made several improvements for the bash-completion package.

The improved completion for tar is much more thoroughly implemented than the original
one from the bash-completion package and almost fully featured, the only thing that may
not complete correctly are some suboptions of the multi-volume option -M as I never use
it and I don't know how that works. It does proper argument counting and completes
accordingly.

The improved version of the cryptsetup completion honors options before the action
argument and completes on keyslot numbers for actions that uses them and it only
completes on usable block devices instead of everything under /dev amongst other
improvements.

The improved verion of the imagemagick tools completions uses a more flexible approach
of getting all of the options than the one in the bash-completion package by replacing
most of the static option chunks with dynamic options loading.

The improved version of the _parse_help function is backwards drop-in compatible with
the one in the bash-completion package version 1.2-3. It creates less processes and
works for more completions:
bzip2 gcc genisoimage gzip imagemagick k3b lzma lzop make man net-tools pm-utils
tar xz

everything is in the gzipped tar ball attached to this mail. The _parse_help function
is in a diff -u.

#625469#10
Date:
2011-05-03 18:02:54 UTC
From:
To:
Hello Frank,

Would you please make a clone of our git repository, make single commits, use
"git format-patch", and then send the resulting patches to the
bash-completion-devel@lists.alioth.debian.org mailing list?

Kindly,
David

#625469#15
Date:
2018-12-06 22:29:14 UTC
From:
To:
Hello, Frank,

Do you still have local improvements that you would like to share?  We
can work on getting them integrated into the upstream sources, as well
as into Debian.

Let me know if you still want to do it and how I can help you.

Kind regards,
Gabriel