[pacman-dev] [PATCH] zsh completion: include description for clean
needs a description in the main case statement. Signed-off-by: Daniel Wallace <danielwallace@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
On 09/03/13 08:09, Daniel Wallace wrote:
needs a description in the main case statement.
Signed-off-by: Daniel Wallace <danielwallace@gtmanfred.com> --- I forgot to add this to the last patch of the last ones.
Correct the previous patch rather than creating a new one...
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
participants (2)
-
Allan McRae
-
Daniel Wallace