summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mandriva.org>2005-01-28 20:04:41 +0000
committerGuillaume Rousse <guillomovitch@mandriva.org>2005-01-28 20:04:41 +0000
commit930eb9297b121bd61c617d0b30f486e0923c9995 (patch)
tree1e7568d7f82eb0b25233fbb543ccf36b6fc6d685
parentcd3fd7727010115a3c1cbac2b5ca11c3a81a02a1 (diff)
downloadurpmi-930eb9297b121bd61c617d0b30f486e0923c9995.tar
urpmi-930eb9297b121bd61c617d0b30f486e0923c9995.tar.gz
urpmi-930eb9297b121bd61c617d0b30f486e0923c9995.tar.bz2
urpmi-930eb9297b121bd61c617d0b30f486e0923c9995.tar.xz
urpmi-930eb9297b121bd61c617d0b30f486e0923c9995.zip
--list-media now admit paramater
-rw-r--r--urpmi.bash-completion4
1 files changed, 4 insertions, 0 deletions
diff --git a/urpmi.bash-completion b/urpmi.bash-completion
index ea1d6895..ab282982 100644
--- a/urpmi.bash-completion
+++ b/urpmi.bash-completion
@@ -122,6 +122,10 @@ _urpmq()
_urpmi_nodes
return 0
;;
+ --list-media)
+ COMPREPLY=( $( compgen -W 'all update active' -- $cur))
+ return 0
+ ;;
esac
if [[ "$cur" == -* ]]; then