Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] Update mtr completion to mtr 0.82
- X-seq: zsh-workers 34464
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] Update mtr completion to mtr 0.82
- Date: Sat, 7 Feb 2015 22:12:26 +0000
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=x-sasl-enc:date:from:to:subject:message-id :mime-version:content-type; s=mesmtp; bh=NsRPySNkO6rt40qRS2KYQ46 FTlk=; b=RjBYrE6rB1tBpbpp1I9rCZ3F73umKgqk0cs+NXUQL0oHJP2BrEg/xRi VxG5vFlWxQ9Apyu42HmSsH+QFK2/e/KOvoLEtZ+knYX8UnK12VUxkirMhPAXkjTI HFZm4tDEWfxEl+SzDjVzZKub0ESXEawqiWHSfkbMjDCNWdl5477M=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:date:from:to:subject :message-id:mime-version:content-type; s=smtpout; bh=NsRPySNkO6r t40qRS2KYQ46FTlk=; b=gyrfXkn/L91yXZGf4BK7Ivnp8TLgLaISCChDZazRXgS lsIPsTAYQVaUZdZd/Zi5ghUjeOeIMW1h5zrVEfA+AM0wHOVGOsAwkZ8WyA01zmUO ttUxHGrxSwgbSsOMOo8RALKKaUZZ8Oag3nqIlhv2WOrqPlQD00wunqpRTimj19dQ =
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
---
The -s/-p options are switched, add a few others.
Completion/Unix/Command/_mtr | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/Completion/Unix/Command/_mtr b/Completion/Unix/Command/_mtr
index f4df5b3..5eda9bc 100644
--- a/Completion/Unix/Command/_mtr
+++ b/Completion/Unix/Command/_mtr
@@ -4,13 +4,19 @@ _arguments -C \
'(-h --help)'{-h,--help}'[help]' \
'(-v --version)'{-v,--version}'[version]' \
'(-r --report)'{-r,--report}'[report mode]' \
+ '(-w --report-wide)'{-w,--report-wide}'[wide report mode\: do not truncate hostnames]' \
'(-c --report-cycles)'{-c,--report-cycles}'[report cycles]:number of pings' \
- '(-p --psize)'{-p,--psize}'[packet size]:number of bytes' \
+ '(-s --psize)'{-s,--psize}'[packet size]:number of bytes' \
'(-t --curses)'{-t,--curses}'[curses UI]' \
+ '(-e --mpls)'{-e,--mpls}'[display ICMP MPLS information]' \
+ '(-o --order)'{-o,--order}'[order output fields]:fields order' \
'(-n --no-dns)'{-n,--no-dns}'[no DNS lookups]' \
'(-g --gtk)'{-g,--gtk}'[GTK+ UI]' \
- '(-s --split)'{-s,--split}'[output for a split-user interface]' \
+ '(-p --split)'{-p,--split}'[output for a split-user interface]' \
'(-l --raw)'{-l,--raw}'[raw output format]' \
'(-a --address)'{-a,--address}'[source address]:source IP:_hosts' \
'(-i --interval)'{-i,--interval}'[ping interval]:number of seconds' \
+ '-u[use UDP instead of ICMP echo]' \
+ '-4[use IPv4 only]' \
+ '-6[use IPv6 only]' \
':destination host:_hosts'
--
1.9.1
Messages sorted by:
Reverse Date,
Date,
Thread,
Author