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

Allan McRae allan at archlinux.org
Sat Mar 9 02:40:40 EST 2013


On 09/03/13 08:09, Daniel Wallace wrote:
> 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.

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
> 



More information about the pacman-dev mailing list