index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Chantry Xavier <shiningxc@gmail.com> | 2008-01-10 15:59:43 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-01-10 22:58:19 -0600 |
commit | aec7c13648179e6d77d1fea9233e35fb9f9d1e05 (patch) | |
tree | 93bebd083f9a8d333a43cb8baf1e4dce3514b39a /contrib | |
parent | abd14fdac0c6ab834b0bbeb423e7a8f5a3978b87 (diff) |
-rw-r--r-- | contrib/bash_completion | 4 | ||||
-rw-r--r-- | contrib/zsh_completion | 6 |
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[@]" \ |