From 73ab153c44a1581b4bcf1e64eb6042b0631c2e66 Mon Sep 17 00:00:00 2001 From: Chantry Xavier Date: Sun, 16 Mar 2008 22:23:47 +0100 Subject: Kill some obsolete references to -A option. Signed-off-by: Chantry Xavier --- contrib/zsh_completion | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'contrib/zsh_completion') diff --git a/contrib/zsh_completion b/contrib/zsh_completion index e5ad92b7..eeef7d5f 100644 --- a/contrib/zsh_completion +++ b/contrib/zsh_completion @@ -6,7 +6,6 @@ typeset -A opt_args # options for passing to _arguments: main pacman commands _pacman_opts_commands=( - '-A[Add a package to the system]' '-Q[Query the package database]' '-R[Remove a package from the system]' '-S[Synchronize packages]' @@ -29,7 +28,7 @@ _pacman_opts_common=( '--noscriptlet[Do not execute the install scriptlet if one exists]' ) -# options for passing to _arguments: options for --add and --update commands +# options for passing to _arguments: options for --upgrade commands _pacman_opts_pkgfile=( '-d[Skip dependency checks]' '-f[Overwrite conflicting files]' @@ -94,13 +93,6 @@ _pacman_opts_sync_modifiers=( '--asexplicit[Install packages as explicitly installed]' ) -# handles --action subcommand -_pacman_action_add() { - _arguments -s : \ - "$_pacman_opts_common[@]" \ - "$_pacman_opts_pkgfile[@]" -} - # handles --help subcommand _pacman_action_help() { _arguments -s : \ @@ -291,7 +283,6 @@ _pacman_get_command() { # main dispatcher _pacman() { case $words[2] in - -A*) _pacman_action_add ;; -Q*g*) # ipkg groups _arguments -s : \ "$_pacman_opts_common[@]" \ -- cgit v1.2.3-24-g4f1b