[pacman-dev] [PATCH] zsh completion: include description for clean

Daniel Wallace danielwallace at gtmanfred.com
Fri Mar 8 17:09:48 EST 2013


needs a description in the main case statement.

Signed-off-by: Daniel Wallace <danielwallace at gtmanfred.com>
---
I forgot to add this to the last patch of the last ones.

 contrib/zsh_completion.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/zsh_completion.in b/contrib/zsh_completion.in
index fa63203..48bbb39 100644
--- a/contrib/zsh_completion.in
+++ b/contrib/zsh_completion.in
@@ -366,8 +366,8 @@ _pacman_zsh_comp() {
 			_pacman_action_database
 			;;
 		S*c*) # no completion
-			_arguments -s \
-				'(-c --clean)'{\*-c,\*--clean} \
+			_arguments -s : \
+				'(-c --clean)'{\*-c,\*--clean}'[Remove all files from the cache]' \
 				"$_pacman_opts_common[@]"
 			;;
 		S*l*) # repos
-- 
1.8.1.5



More information about the pacman-dev mailing list