about summary refs log tree commit diff
path: root/Completion/Linux
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2017-07-15 14:53:53 +0200
committerOliver Kiddle <opk@zsh.org>2017-07-15 14:53:53 +0200
commit8eaacb35419171b40e121c61323a5113e5f1977d (patch)
treeb4f0cef111df5651583a4866a04a3889cbe396df /Completion/Linux
parent4a63a1793af5f3046af6a77db8aeeece523ebc61 (diff)
downloadzsh-8eaacb35419171b40e121c61323a5113e5f1977d.tar.gz
zsh-8eaacb35419171b40e121c61323a5113e5f1977d.tar.xz
zsh-8eaacb35419171b40e121c61323a5113e5f1977d.zip
41431: update options in assorted completions
Diffstat (limited to 'Completion/Linux')
-rw-r--r--Completion/Linux/Command/_lsblk1
-rw-r--r--Completion/Linux/Command/_ss1
-rw-r--r--Completion/Linux/Command/_strace3
3 files changed, 4 insertions, 1 deletions
diff --git a/Completion/Linux/Command/_lsblk b/Completion/Linux/Command/_lsblk
index e1863cd06..c8fbb27c7 100644
--- a/Completion/Linux/Command/_lsblk
+++ b/Completion/Linux/Command/_lsblk
@@ -18,6 +18,7 @@ _arguments -C -s -S \
   '*:device:_files -g "*(-%b)" -P / -W /' \
   + fields \
   '(H -D --discard -o --output -O --output-all)'{-D,--discard}'[output discard capabilities]' \
+  '(H -z --zoned -o --output -O --output-all)'{-z,--zoned}'[output zone model]' \
   '(H -f --fs -o --output -O --output-all)'{-f,--fs}'[output info about filesystems]' \
   '(H -m --perms -o --output -O --output-all)'{-m,--perms}'[output info about permissions]' \
   '(H -S --scsi -o --output -O --output-all)'{-S,--scsi}'[output info about SCSI devices]' \
diff --git a/Completion/Linux/Command/_ss b/Completion/Linux/Command/_ss
index 90d83a4c4..e5289b0a7 100644
--- a/Completion/Linux/Command/_ss
+++ b/Completion/Linux/Command/_ss
@@ -28,6 +28,7 @@ _arguments -C -s \
   "($info -4 --ipv4 -6 --ipv6)"{-6,--ipv6}'[display only IP version 6 sockets]' \
   "($info -0 --packet)"{-0,--packet}'[display PACKET sockets]' \
   "($info -t --tcp)"{-t,--tcp}'[display TCP sockets]' \
+  "($info -S --sctp)"{-S,--sctp}'[display SCTP sockets]' \
   "($info -u --udp)"{-u,--udp}'[display UDP sockets]' \
   "($info -d --dccp)"{-d,--dccp}'[display DCCP sockets]' \
   "($info -w --raw)"{-w,--raw}'[display RAW sockets]' \
diff --git a/Completion/Linux/Command/_strace b/Completion/Linux/Command/_strace
index cbf95d6c4..cff9a49c6 100644
--- a/Completion/Linux/Command/_strace
+++ b/Completion/Linux/Command/_strace
@@ -53,7 +53,8 @@ case $state in
       'raw[print raw, undecoded arguments for the specified set of system calls]:system call:_sequence _sys_calls -a -n' \
       'signal[trace only the specified subset of signals]:signal:_sequence _signals -s -M "B\:!="' \
       'read[perform a full hex and ASCII dump of all the data read from listed file descriptors]:file descriptor:_sequence _file_descriptors' \
-      'write[perform a full hex and ASCII dump of all the data written to listed file descriptors]:file descriptor:_sequence _file_descriptors' && ret=0
+      'write[perform a full hex and ASCII dump of all the data written to listed file descriptors]:file descriptor:_sequence _file_descriptors' \
+      'fault[perform syscall fault injection]:system call:_sys_calls -a -n' && ret=0
     if [[ $words[CURRENT] != *=* || $state = syscalls ]]; then
       local dedup sets suf="-qS,"
       compset -P '!'