Thanks Flavio, In fact, I have learned a lot from your post about how to write compgen functions. ;D
Will keep using your script as reference ~ I'm thinking of writing a script that parses the manpage and generates the script of compgen functions. I have some initial implementation here for appctl https://github.com/yew011/ovs_command_comp Alex Wang, On Wed, Mar 26, 2014 at 5:22 AM, Flavio Leitner <f...@redhat.com> wrote: > On Tue, Mar 25, 2014 at 10:11:23PM -0700, Ben Pfaff wrote: > > Bash Command Completion > > ----------------------- > > > > ovs-vsctl and other programs would be easier to use if bash command > > completion (with ``tab'', etc.) were supported. Alex Wang > > <al...@nicira.com> is planning to lead a team for this project. > > Feel free to use my bash completion script as you want: > http://people.redhat.com/~fleitner/ovs-vsctl/ovs-vsctl.sh > > That was my first round, so it needs work to clean up, etc.. > > fbl >
_______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev