From: Clint Adams <clint@zsh.org>
To: zsh-workers@sunsite.dk
Subject: PATCH: _dpkg tweaks
Date: Mon, 28 May 2001 14:55:52 -0400 [thread overview]
Message-ID: <20010528145552.A19485@dman.com> (raw)
Unless something changed, I have no idea how it worked before.
--compare-versions still doesn't work properly if it is
preceded by any non "-*" arguments, though that shouldn't
be commonplace. If I double the colon it doesn't
do what I expect either. See next message for a similar problem.
Index: Completion/Debian/Command/_dpkg
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Debian/Command/_dpkg,v
retrieving revision 1.1
diff -u -r1.1 _dpkg
--- Completion/Debian/Command/_dpkg 2001/04/02 12:22:24 1.1
+++ Completion/Debian/Command/_dpkg 2001/05/28 18:21:04
@@ -129,10 +129,10 @@
;;
compare_versions)
_call_function ret _dpkg_$state && return ret
- _arguments -C -A "-*" -s "$_dpkg_options[@]" \
- '2:version A:' \
- '3:operator:(lt le eq ne ge gt lt-nl le-nl ge-nl gt-nl)' \
- '4:version B:'
+ _arguments -C -A "-*" -s \
+ '1:version A:' \
+ '2:operator:(lt le eq ne ge gt lt-nl le-nl ge-nl gt-nl)' \
+ '3:version B:'
;;
configure)
_call_function ret _dpkg_$state && return ret
reply other threads:[~2001-05-28 18:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20010528145552.A19485@dman.com \
--to=clint@zsh.org \
--cc=zsh-workers@sunsite.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).