Bug 12644 - syntax error in fetchmail completion fle
: syntax error in fetchmail completion fle
Status: CLOSED WORKSFORME
: Sisyphus
(All bugs in Sisyphus/zsh)
: unstable
: all Linux
: P2 minor
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2007-08-28 12:06 by
Modified: 2009-04-12 21:06 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2007-08-28 12:06:55
$ fetchmail -f<TAB> .fetc 
_arguments:comparguments:303: invalid option definition: --[fetch]all[получение
старых и новых сообщений]

Steps to Reproduce:
1. fetychmail -f
2. press <TAB>
3.
------- Comment #1 From 2008-12-21 02:12:15 -------
"""
     In addition to options, `_arguments --' will try to deduce the
     types of arguments available for options when the form `--OPT=VAL'
     is valid. ...
"""

Оно криво парсит --[foo]barб когда автором подразумеваются две опции --foobar и
--bar.
------- Comment #2 From 2009-04-12 02:43:18 -------
$ fetchmail --fet<Tab>
---- option ----
--fetchall        -- retrieve old and new messages
--fetchdomains    -- fetch mail for specified domains
--fetchlimit      -- set fetch limit for server connections
--fetchsizelimit  -- set fetch message size limit
--fetchmailrc
$ fetchmail --a<Tab>
---- option ----
--all             -- retrieve old and new messages
--antispam        -- ,   set antispam response values
--auth
$ rpm -q zsh
zsh-4.3.9-alt1
------- Comment #3 From 2009-04-12 21:06:47 -------
заодно бы и в 4.1 выложить -- там как раз битая сборка.