Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH 1/1] add completion for 'ip -human' and 'ip -iec'
- X-seq: zsh-workers 35107
- From: Christian Hesse <mail@xxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH 1/1] add completion for 'ip -human' and 'ip -iec'
- Date: Wed, 13 May 2015 17:02:23 +0200
- Cc: Christian Hesse <mail@xxxxxxxx>
- Dkim-filter: OpenDKIM Filter v2.9.2 mx.mylinuxtime.de D17B4246AF
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eworm.de; s=mail; t=1431529359; bh=jXlOnr325j/chlwFekTuDZwoFeyJulMFQ3uaOj8w18c=; h=From:To:Cc:Subject:Date; b=FvQWph2A0JOqXa7xEncPMOnT4xFz6vsuXNequBbNEcFfBRTgdKzWTepubCyQ+tiSU 2L5vUyMj1t9R6dk5z48pnXx/XqGwZmD6oDwTTXPXUBgs7neUUFhZwEDaRXccyeCjh+ nuGNez2BjsecPc/gz2AZ61aahmpQXw4C9slsp/9c=
- 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
ip command has new options '-human' for human readable values in
statistics and '-iec' for human readable values in IEC units.
Signed-off-by: Christian Hesse <mail@xxxxxxxx>
---
Completion/Unix/Command/_ip | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Completion/Unix/Command/_ip b/Completion/Unix/Command/_ip
index bfa7d99..1e39491 100644
--- a/Completion/Unix/Command/_ip
+++ b/Completion/Unix/Command/_ip
@@ -531,6 +531,8 @@ args=(
)
_regex_words options "ip options" \
+ '-h*uman:output statistics with human readable values' \
+ '-i*ec:print human readable rates in IEC units (ie. 1K = 1024)' \
'-s*tatistics:output statistics' \
'-f*amily:select protocol family:$subcmd_family' \
'-4:IPv4' \
--
2.4.0
Messages sorted by:
Reverse Date,
Date,
Thread,
Author