[yum-commits] yum-utils.bash
Ville Skyttä
scop at osuosl.org
Mon Aug 19 14:50:09 UTC 2013
yum-utils.bash | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit 9ec24e86e3e1078c6d4bb135df2338e0ea13a9bc
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Mon Aug 19 17:49:58 2013 +0300
Add repoquery --installroot completion.
diff --git a/yum-utils.bash b/yum-utils.bash
index 6578bb3..65bff76 100644
--- a/yum-utils.bash
+++ b/yum-utils.bash
@@ -246,6 +246,10 @@ _yu_repoquery()
COMPREPLY=( $( compgen -W 'name summary description' -- "$cur" ) )
return 0
;;
+ --installroot)
+ COMPREPLY=( $( compgen -d -- "$cur" ) )
+ return 0
+ ;;
esac
$split && return 0
@@ -259,7 +263,7 @@ _yu_repoquery()
--archlist --pkgnarrow --installed --show-duplicates --repoid
--enablerepo --disablerepo --repofrompath --plugins --quiet
--verbose --cache --tempcache --querytags --config --level --output
- --search --search-fields --setopt' -- "$cur" ) )
+ --search --search-fields --setopt --installroot' -- "$cur" ) )
return 0
fi
More information about the Yum-commits
mailing list