]> www.infradead.org Git - users/dhowells/kafs-utils.git/commit
Provide bash completion
authorDavid Howells <dhowells@redhat.com>
Tue, 20 May 2014 23:04:29 +0000 (00:04 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 20 May 2014 23:04:29 +0000 (00:04 +0100)
commit0df4c2dea1d0f9872ab7a0451e6f4b2e5ab13d0c
tree9cd6d15aaad675c90aa90e7c52ae5a2a47af8a06
parente615b85ccd4ee6fbeaa7db50fcf4848f4bc08258
Provide bash completion

Provide bash completion that uses the argument lists in the individual
subcommand files to work out how to complete.  The completion algorithm will
interpolate required flags first and will fully expand flag names.  Flag
parameters will be switched to hostname expansion or cellname expansion as
appropriate.

Signed-off-by: David Howells <dhowells@redhat.com>
bash_complete [new file with mode: 0644]
suite/bash-comp-helper.py [new file with mode: 0755]