[yum-commits] yum-utils.bash
Ville Skyttä
scop at osuosl.org
Thu Feb 24 22:15:35 UTC 2011
yum-utils.bash | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
New commits:
commit aed2c23b9233b7da9d72b57190eac591ad419e79
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Fri Feb 25 00:15:29 2011 +0200
Update repoquery completion with current options.
diff --git a/yum-utils.bash b/yum-utils.bash
index 9733175..29dc9bc 100644
--- a/yum-utils.bash
+++ b/yum-utils.bash
@@ -164,7 +164,7 @@ _yu_repoquery()
case "$3" in
-h|--help|--version|-f|--file|--qf|--queryformat|--resolve|--archlist|\
--whatprovides|--whatrequires|--whatobsoletes|--whatconflicts|\
- --repofrompath)
+ --repofrompath|--level|--search-fields)
return 0
;;
-l|--list|-i|--info|-R|--requires)
@@ -202,10 +202,14 @@ _yu_repoquery()
_yum_repolist enabled "$2" 2>/dev/null
return 0
;;
- -c)
+ -c|--config)
COMPREPLY=( $( compgen -f -o plusdirs -X '!*.conf' -- "$2" ) )
return 0
;;
+ --output)
+ COMPREPLY=( $( compgen -W 'text ascii-tree dot-tree' -- "$2" ) )
+ return 0
+ ;;
esac
COMPREPLY=( $( compgen -W '--version --help --list --info --file
@@ -215,8 +219,8 @@ _yu_repoquery()
--whatobsoletes --whatconflicts --group --grouppkgs --archlist
--pkgnarrow --installed --show-duplicates --repoid --enablerepo
--disablerepo --repofrompath --plugins --quiet --verbose --cache
- --tempcache --querytags --config --tree-requires --tree-conflicts
- --tree-obsoletes --tree-whatrequires' -- "$2" ) )
+ --tempcache --querytags --config --level --output --search
+ --search-fields' -- "$2" ) )
} &&
complete -F _yu_repoquery -o filenames repoquery repoquery.py
More information about the Yum-commits
mailing list