From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: Clint Adams <schizo@debian.org>, zsh-workers@sunsite.auc.dk
Subject: Re: _rpm odd behavior
Date: Wed, 24 May 2000 04:41:58 +0000 [thread overview]
Message-ID: <1000524044159.ZM1510@candle.brasslantern.com> (raw)
In-Reply-To: <20000523200227.A11961@scowler.net>
On May 23, 8:02pm, Clint Adams wrote:
} Subject: _rpm odd behavior
}
} Disclaimer: I know next to nothing about rpm.
}
} I have no RPM database, but rpm -qcp shouldn't need one.
} I believe that the behavior in case 3 is the correct one.
} What's going on?
For some reason the `_arguments -s ...' in the `query' state handler
(line 97 in _rpm) is not finding the -p option, and so instead is using
the spec '*:RPM package:->package_or_file' which causes _rpm to attempt
to run 'rpm -qa' to get a list of all installed packages on the system.
At first I thought this was because you used "rpm -qcp" and -c is not
listed by _rpm as a valid option in the `query' state (even though it
should be); but even "rpm -qp" doesn't work, only "rpm -q -p" gets it
right.
Is it a new problem that _arguments has trouble dealing with multiple
single-letter options packed in the same word?
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
prev parent reply other threads:[~2000-05-24 4:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-24 0:02 Clint Adams
2000-05-24 4:41 ` Bart Schaefer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1000524044159.ZM1510@candle.brasslantern.com \
--to=schaefer@candle.brasslantern.com \
--cc=schizo@debian.org \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).