Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] _ip: add -j[son] and -p[retty] flags



diff --git a/Completion/Unix/Command/_ip b/Completion/Unix/Command/_ip
index 9a7cbd821..f4eb913b9 100644
--- a/Completion/Unix/Command/_ip
+++ b/Completion/Unix/Command/_ip
@@ -553,6 +553,8 @@ _regex_words options "ip options" \
   '-M:family MPLS' \
   '-0:link protocol, no networking' \
   '-o*neline:output one record per line' \
+  '-j*son:output results in JSON' \
+  '-p*retty:pretty print JSON' \
   '-t*imestamp:display current time when using monitor option' \
   '-ts*hort:display current time in shorter format when using monitor option' \
   '-r*esolve:use system resolver for DNS names'





Messages sorted by: Reverse Date, Date, Thread, Author