Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug#560881: zsh: dput's --delayed completion is broken



On Sun, Dec 13, 2009 at 12:13:46AM +0100, Michael Prokop wrote:
> % dput --de<tab>
> completing option
> --debug                                   -- debug mode
> --delayednumber of days in delayed queue  -- (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)
> 
> Two further tabs later there's:
> 
> % dput --delayednumber of days in delayed queue
> 
> visible in the prompt.
> 
> The attached patch addresses this issue and WFM.
> 
> regards,
> -mika-

> --- /usr/share/zsh/functions/Completion/Debian/_dput.orig	2009-12-13 00:06:19.000000000 +0100
> +++ /usr/share/zsh/functions/Completion/Debian/_dput	2009-12-13 00:09:01.000000000 +0100
> @@ -5,7 +5,7 @@
>    '(-c --config)'{-c,--config}'[specify config file]:config file:_files' \
>    '(-d --debug)'{-d,--debug}'[debug mode]' \
>    '(-D --dinstall)'{-D,--dinstall}'[run dinstall after upload]' \
> -  '(-e --delayed)'{-E,--delayed}'number of days in delayed queue:(0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)' \
> +  '(-e --delayed)'{-E,--delayed}'[number of days in delayed queue]:number of days:(0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)' \
>    '(-f --force)'{-f,--force}'[force upload of already uploaded package]' \
>    '(-H --host-list)'{-H,--host-list}'[display host list]' \
>    '(-l --lintian)'{-l,--lintian}'[run lintian before upload]' \

Thanks.



Messages sorted by: Reverse Date, Date, Thread, Author