summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorChantry Xavier <shiningxc@gmail.com>2008-01-10 15:59:43 +0100
committerDan McGee <dan@archlinux.org>2008-01-11 05:58:19 +0100
commitaec7c13648179e6d77d1fea9233e35fb9f9d1e05 (patch)
tree93bebd083f9a8d333a43cb8baf1e4dce3514b39a /contrib
parentabd14fdac0c6ab834b0bbeb423e7a8f5a3978b87 (diff)
downloadpacman-aec7c13648179e6d77d1fea9233e35fb9f9d1e05.tar.gz
pacman-aec7c13648179e6d77d1fea9233e35fb9f9d1e05.tar.xz
Rename -t --orphans to -t --unrequired (FS#9144).
It turns out the orphan name was misleading. Real orphans are packages installed as dependency no longer required by any others (-Qtd). The -t option only shows package not required by any others, so --unrequired describes it better. Signed-off-by: Chantry Xavier <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/bash_completion4
-rw-r--r--contrib/zsh_completion6
2 files changed, 2 insertions, 8 deletions
diff --git a/contrib/bash_completion b/contrib/bash_completion
index d0851e70..77192858 100644
--- a/contrib/bash_completion
+++ b/contrib/bash_completion
@@ -177,7 +177,7 @@ _pacman ()
changelog) mod="${mod}c" ;;
deps) mod="${mod}d" ;;
explicit) mod="${mod}e" ;;
- orphans) mod="${mod}t" ;;
+ unrequired) mod="${mod}t" ;;
foreign) mod="${mod}m" ;;
owns) mod="${mod}o" ;;
file) mod="${mod}p" ;;
@@ -298,7 +298,7 @@ _pacman ()
-o --owns \
-p --file \
-s --search \
- -t --orphans \
+ -t --unrequired \
-u --upgrades \
--config \
--logfile \
diff --git a/contrib/zsh_completion b/contrib/zsh_completion
index f6cd9008..5ea6c33b 100644
--- a/contrib/zsh_completion
+++ b/contrib/zsh_completion
@@ -38,7 +38,6 @@ _pacman_opts_pkgfile=(
# options for passing to _arguments: subactions for --query command
_pacman_opts_query_actions=(
- '-e[List orphaned packages]:*:orphans:->query_orphans'
'-g[View all members of a package group]:*:package groups:->query_group'
'-o[Query the package that owns a file]:file:_files'
'-p[Package file to query]:*:package file:->query_file'
@@ -135,11 +134,6 @@ _pacman_action_query() {
"$_pacman_opts_query_modifiers[@]" \
'*:groups:_pacman_completions_installed_groups'
;;
- query_orphans)
- _arguments -s : \
- "$_pacman_opts_common[@]" \
- "$_pacman_opts_query_modifiers[@]"
- ;;
query_owner)
_arguments -s : \
"$_pacman_opts_common[@]" \