summaryrefslogtreecommitdiffstats
path: root/urpmi.bash-completion
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-07 20:46:40 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-07 20:46:40 +0000
commitc617573f7ca65da803615991419db926420f22b1 (patch)
treebb3d7d440cbeec7fee53d0751c5232f31a4c8548 /urpmi.bash-completion
parentc54d9828bb2eb4a38197b8d656aefd52c9c9ea36 (diff)
downloadurpmi-c617573f7ca65da803615991419db926420f22b1.tar
urpmi-c617573f7ca65da803615991419db926420f22b1.tar.gz
urpmi-c617573f7ca65da803615991419db926420f22b1.tar.bz2
urpmi-c617573f7ca65da803615991419db926420f22b1.tar.xz
urpmi-c617573f7ca65da803615991419db926420f22b1.zip
o handle "unrequested orphans" (similar to "deborphan")
Diffstat (limited to 'urpmi.bash-completion')
-rw-r--r--urpmi.bash-completion7
1 files changed, 4 insertions, 3 deletions
diff --git a/urpmi.bash-completion b/urpmi.bash-completion
index 09852b97..d244d282 100644
--- a/urpmi.bash-completion
+++ b/urpmi.bash-completion
@@ -95,7 +95,7 @@ _urpmi()
# add dangereous option for everything else as rurpmi
if [[ ${COMP_WORDS[0]} != *rurpmi ]]; then
options="$options --root --use-distrib --env \
- --replacepkgs --justdb \
+ --auto-orphans --replacepkgs --justdb \
--allow-nodeps --allow-force --no-suggests --force \
--noscripts --auto-update --keep --nokeep \
--verify-rpm"
@@ -162,7 +162,8 @@ _urpmq()
# return list of available options
COMPREPLY=( $( compgen -W "$common_options -d -u -m -a -c -y -s -i -g -p \
-r -f -l --update --media --excludemedia \
- --sortmedia --synthesis --auto-select --no-suggests --fuzzy --keep --nokeep \
+ --sortmedia --synthesis --auto-select --auto-orphans \
+ --no-suggests --fuzzy --keep --nokeep \
--list --list-url --list-media --list-nodes --list-aliases \
--src --sources --provides --requires --summary --sourcerpm --force --parallel --wget --curl --prozilla \
--changelog --conflicts --proxy --proxy-user --env --dump-config \
@@ -188,7 +189,7 @@ _urpme()
if [[ "$cur" == -* ]]; then
# return list of available options
COMPREPLY=( $( compgen -W "$common_options -a --auto --test \
- --parallel --noscripts" -- $cur ) )
+ --auto-orphans --parallel --noscripts" -- $cur ) )
else
# return list of available packages
_rpm_installed_packages