Created attachment 421646 [details]
properly add localupdate to bash completion
Description of problem:
yum local<TAB> completes to localinstall instead of suggesting localupdate and localinstall. Also yum localupdate <TAB> does not show possible rpm files.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. yum localu<TAB>
commandline should expand to "yum localupdate"
localupdate is missing in the cmds variable (see patch)
the yum commands local* are unnecessary anyway - the normal commands handle lists of local pkgs just fine.
yum install myfile.rpm /some/path/to/somepkg.rpm
works the same as
yum localinstall myfile.rpm /some/path/to/somepkg.rpm
ditto with update and localupdate.
so - I don't see anything wrong with fixing the bash completion script - but it is not strictly necessary.
and I've added localupdate, now.