summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-07-27 05:24:53 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-07-27 05:24:53 +0000
commitee5df142c4a44ab7bdd50f675f558e7b87713c8d (patch)
treefcc8c33b172c34ee0bbf975b5f559865d4a9bd0d
parent62f60a99f83c7b5c820dcb9452d00dfffd381035 (diff)
downloadurpmi-ee5df142c4a44ab7bdd50f675f558e7b87713c8d.tar
urpmi-ee5df142c4a44ab7bdd50f675f558e7b87713c8d.tar.gz
urpmi-ee5df142c4a44ab7bdd50f675f558e7b87713c8d.tar.bz2
urpmi-ee5df142c4a44ab7bdd50f675f558e7b87713c8d.tar.xz
urpmi-ee5df142c4a44ab7bdd50f675f558e7b87713c8d.zip
Update bash completion with new command-line options
-rw-r--r--urpmi.bash-completion9
1 files changed, 5 insertions, 4 deletions
diff --git a/urpmi.bash-completion b/urpmi.bash-completion
index 4b5fa171..89a1cde4 100644
--- a/urpmi.bash-completion
+++ b/urpmi.bash-completion
@@ -205,8 +205,9 @@ _urpmi_update()
if [[ "$cur" == -* ]]; then
# return list of available options
- COMPREPLY=( $( compgen -W '-a -c -f --help --wget \
- --curl --limit-rate --proxy --proxy-user --update' \
+ COMPREPLY=( $( compgen -W '-a -c -f -q -v --help --wget \
+ --curl --limit-rate --proxy --proxy-user --update \
+ --no-md5sum --force-key' \
-- $cur))
else
# return list of available media
@@ -226,7 +227,7 @@ _urpmi_addmedia()
if [[ "$cur" == -* ]]; then
# return list of available options
- COMPREPLY=( $( compgen -W '-c -f -h --help --wget --curl \
+ COMPREPLY=( $( compgen -W '-c -f -h -v -q --help --wget --curl \
--limit-rate --proxy --proxy-user --update \
--probe-synthesis --probe-hdlist --no-probe --distrib \
--env --version --arch --virtual' -- $cur ) )
@@ -269,7 +270,7 @@ _urpmi_removemedia()
if [[ "$cur" == -* ]]; then
# if word begins with a dash, return list of available options
- COMPREPLY=( $( compgen -W '-a -c --help' -- $cur ) )
+ COMPREPLY=( $( compgen -W '-a -c -y -v -q --help' -- $cur ) )
else
# elsewhere, return list of available media
_urpmi_medias