zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH] _pgrep: Add -w on Linux
@ 2017-03-12 10:16 Wieland Hoffmann
  2017-03-13  0:38 ` Eitan Adler
  2017-03-14 19:28 ` [PATCH v2] " Wieland Hoffmann
  0 siblings, 2 replies; 4+ messages in thread
From: Wieland Hoffmann @ 2017-03-12 10:16 UTC (permalink / raw)
  To: zsh-workers; +Cc: Wieland Hoffmann

This was added in procps-ng 3.3.7.
---
 Completion/Unix/Command/_pgrep | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Completion/Unix/Command/_pgrep b/Completion/Unix/Command/_pgrep
index 0b7d23d4d..913805bc1 100644
--- a/Completion/Unix/Command/_pgrep
+++ b/Completion/Unix/Command/_pgrep
@@ -28,6 +28,7 @@ arguments=('-P[parent process id]:parent process id:->ppid'
      '-q[do not write anything to standard output]'
      '-S[search also in system processes]'
      '-v[negate matching]'
+     '-w[show thred ids instead of pids]'
      '-x[match exactly]'
      '-z[match only in zones]:zone:_zones')
 
@@ -41,7 +42,7 @@ fi
 local optchars
 case "$OSTYPE" in
   linux*)
-    optchars="cflvxdnoPgsuUGt"
+    optchars="cflvxdnoPgsuUGtw"
     ;;
   freebsd*)
     optchars="LSafilnoqvxFGMNPUdgjstu"
-- 
2.12.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-03-15  1:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-12 10:16 [PATCH] _pgrep: Add -w on Linux Wieland Hoffmann
2017-03-13  0:38 ` Eitan Adler
2017-03-14 19:28 ` [PATCH v2] " Wieland Hoffmann
2017-03-15  1:34   ` Daniel Shahaf

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).