summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_dtruss
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2018-08-27 13:31:04 +0200
committerAxel Beckert <abe@deuxchevaux.org>2018-08-27 13:31:04 +0200
commit719a715614f2182a76b30ad27a327d70a86f34f1 (patch)
treea437eb29da8035bf7c2e30506c08fe6f15719871 /Completion/Unix/Command/_dtruss
parent7da8d19c224860ae4d6aa3f077fca7f734f20d88 (diff)
parentef61918398517473b9b594690a3be375f607cebe (diff)
downloadzsh-719a715614f2182a76b30ad27a327d70a86f34f1.tar.gz
zsh-719a715614f2182a76b30ad27a327d70a86f34f1.zip
Merge tag 'zsh-5.5.1-test-2' into debian
Test release: 5.5.1-test-2.
Diffstat (limited to 'Completion/Unix/Command/_dtruss')
-rw-r--r--Completion/Unix/Command/_dtruss18
1 files changed, 18 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_dtruss b/Completion/Unix/Command/_dtruss
new file mode 100644
index 000000000..bd1ae8bc5
--- /dev/null
+++ b/Completion/Unix/Command/_dtruss
@@ -0,0 +1,18 @@
+#compdef dtruss
+
+_arguments -s : \
+ '-a[print all details]' \
+ '-b+[specify dynamic variable buffer size]:buffer size (default 4m)' \
+ '-c[print system call counts]' \
+ '-d[print relative timestamps]' \
+ '-e[print elapsed times]' \
+ '-f[follow children as they are forked]' \
+ '-l[force printing of pid/lwpid per line]' \
+ "-L[don't print pid/lwpid per line]" \
+ '(-p :)-n+[examine processes with the specified name]: : _process_names -a' \
+ '-o[print on-cpu times]' \
+ '-s[print stack backtraces]' \
+ '(-n :)-p+[examine process with the specified pid]: : _pids' \
+ '-t+[examine only the specified syscall]: : _sys_calls' \
+ '1: : _command_names -e' \
+ '*:: : _normal'