* [PATCH 1/1] add completion for 'ip -human' and 'ip -iec'
@ 2015-05-13 15:02 Christian Hesse
0 siblings, 0 replies; only message in thread
From: Christian Hesse @ 2015-05-13 15:02 UTC (permalink / raw)
To: zsh-workers; +Cc: Christian Hesse
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@eworm.de>
---
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-05-13 15:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-13 15:02 [PATCH 1/1] add completion for 'ip -human' and 'ip -iec' Christian Hesse
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).