From 8eaacb35419171b40e121c61323a5113e5f1977d Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Sat, 15 Jul 2017 14:53:53 +0200 Subject: 41431: update options in assorted completions --- Completion/Linux/Command/_lsblk | 1 + Completion/Linux/Command/_ss | 1 + Completion/Linux/Command/_strace | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) (limited to 'Completion/Linux') 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 '!' -- cgit 1.4.1