Bug 12644 - syntax error in fetchmail completion fle
Summary: syntax error in fetchmail completion fle
Status: CLOSED WORKSFORME
Alias: None
Product: Sisyphus
Classification: Development
Component: zsh (show other bugs)
Version: unstable
Hardware: all Linux
: P2 minor
Assignee: Fr. Br. George
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-28 12:06 MSD by viy
Modified: 2009-04-12 21:06 MSD (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description viy 2007-08-28 12:06:55 MSD
$ fetchmail -f<TAB> .fetc 
_arguments:comparguments:303: invalid option definition: --[fetch]all[получение
старых и новых сообщений]

Steps to Reproduce:
1. fetychmail -f
2. press <TAB>
3.
Comment 1 Sir Raorn 2008-12-21 02:12:15 MSK
"""
     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 Sir Raorn 2009-04-12 02:43:18 MSD
$ 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 viy 2009-04-12 21:06:47 MSD
заодно бы и в 4.1 выложить -- там как раз битая сборка.