From: Wieland Hoffmann <themineo@gmail.com>
To: zsh-workers@zsh.org
Cc: Wieland Hoffmann <themineo@gmail.com>
Subject: [PATCH] _pgrep: Add -w on Linux
Date: Sun, 12 Mar 2017 11:16:30 +0100 [thread overview]
Message-ID: <20170312101630.29242-1-themineo@gmail.com> (raw)
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
next reply other threads:[~2017-03-12 10:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-12 10:16 Wieland Hoffmann [this message]
2017-03-13 0:38 ` Eitan Adler
2017-03-14 19:28 ` [PATCH v2] " Wieland Hoffmann
2017-03-15 1:34 ` Daniel Shahaf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170312101630.29242-1-themineo@gmail.com \
--to=themineo@gmail.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).