summary refs log tree commit diff
path: root/Completion/Linux/Command/_strace
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/Command/_strace
parent4a63a1793af5f3046af6a77db8aeeece523ebc61 (diff)
downloadzsh-8eaacb35419171b40e121c61323a5113e5f1977d.tar.gz
zsh-8eaacb35419171b40e121c61323a5113e5f1977d.tar.xz
zsh-8eaacb35419171b40e121c61323a5113e5f1977d.zip
41431: update options in assorted completions
Diffstat (limited to 'Completion/Linux/Command/_strace')
-rw-r--r--Completion/Linux/Command/_strace3
1 files changed, 2 insertions, 1 deletions
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 '!'