From aec7c13648179e6d77d1fea9233e35fb9f9d1e05 Mon Sep 17 00:00:00 2001 From: Chantry Xavier Date: Thu, 10 Jan 2008 15:59:43 +0100 Subject: 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 Signed-off-by: Dan McGee --- contrib/bash_completion | 4 ++-- contrib/zsh_completion | 6 ------ 2 files changed, 2 insertions(+), 8 deletions(-) (limited to 'contrib') 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[@]" \ -- cgit v1.2.3-24-g4f1b