about summary refs log tree commit diff
path: root/Completion/Linux/Command/_strace
diff options
context:
space:
mode:
authorOliver Kiddle <okiddle@yahoo.co.uk>2019-10-01 23:10:17 +0200
committerOliver Kiddle <okiddle@yahoo.co.uk>2019-10-01 23:10:17 +0200
commit7d2d242b30dad78cc9df81a275324e57c9fedd34 (patch)
tree4a7109e672df04594c5cab70355c9cfb08b82627 /Completion/Linux/Command/_strace
parent934fc7d1164f6a2a90658ff98e642d282d394727 (diff)
downloadzsh-7d2d242b30dad78cc9df81a275324e57c9fedd34.tar.gz
zsh-7d2d242b30dad78cc9df81a275324e57c9fedd34.tar.xz
zsh-7d2d242b30dad78cc9df81a275324e57c9fedd34.zip
44798: completion option update
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 683673fdd..7d4595a33 100644
--- a/Completion/Linux/Command/_strace
+++ b/Completion/Linux/Command/_strace
@@ -25,7 +25,7 @@ _arguments -C -s \
   '(-C -i -k -r -ff -t -tt -ttt -T -y -yy)-c[count time, calls, and errors for each system call and report a summary]' \
   '(-c)-C[count time, calls, and errors for each system call and report a summary in addition to regular output]' \
   '-O+[overhead for tracing system calls]:overhead (microseconds)' \
-  '-S+[sort the output of the histogram (-c option) by the specified criterion]:sort criterion:(time calls name nothing)' \
+  '-S+[sort the output of the histogram (-c option) by the specified criterion]:sort criterion [time]:(time calls errors name nothing)' \
   '-w[summarise syscall latency]' \
   '*-e+[select events to trace or how to trace]:system call:->expressions' \
   '*-P+[trace only system calls accessing given path]:path:_files' \
@@ -39,6 +39,7 @@ _arguments -C -s \
   '*-E+[set or remove exported environment variable]:variable:->envars' \
   "${root}-u+[run as specified user]:user:_users" \
   '(:)*-p+[attach to the process with specified process ID and begin tracing]:process ID:_pids' \
+  '--seccomp-bpf[enable seccomp-bpf filtering]' \
   '-d[show debug output of strace itself on standard error]' \
   '-v[print unabbreviated versions of environment, stat, termios, etc. calls]' \
   '(- 1 *)-h[display help information]' \