From 8197af9b9c83d06dfe27478e9ce977b1e47883f9 Mon Sep 17 00:00:00 2001 From: Tomasz Pala Date: Wed, 16 Aug 2017 20:54:20 +0200 Subject: users/22834: allow completion after -c and a few other new ip options --- Completion/Unix/Command/_ip | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'Completion/Unix/Command/_ip') diff --git a/Completion/Unix/Command/_ip b/Completion/Unix/Command/_ip index 6e1cc3b78..74101c646 100644 --- a/Completion/Unix/Command/_ip +++ b/Completion/Unix/Command/_ip @@ -530,15 +530,30 @@ args=( /$'[^\0]#\0'/ ) +# TODO: +# -b*atch +# -force (for batch mode) +# -l*oops +# -n*etns +# -rc, -rcvbuf _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' \ + '-d*etails:output more detailed information' \ + '-c*olor:color output' \ + '-a*ll:executes specified command over all objects' \ '-f*amily:select protocol family:$subcmd_family' \ '-4:IPv4' \ '-6:IPv6' \ + '-B:family bridge' \ + '-D:family DECnet' \ + '-I:family IPX' \ + '-M:family MPLS' \ '-0:link protocol, no networking' \ '-o*neline:output one record per line' \ + '-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' args+=("$reply[@]" "#") -- cgit 1.4.1