about summary refs log tree commit diff
path: root/Completion/Linux/Command/_pidof
diff options
context:
space:
mode:
authorOliver Kiddle <okiddle@yahoo.co.uk>2018-04-16 17:02:56 +0200
committerOliver Kiddle <okiddle@yahoo.co.uk>2018-04-16 17:02:56 +0200
commit39f58eb318104d15afbe8dbdb9c93df2b50c2b69 (patch)
treea121d2a20c3e6010664c21cc13a419bc1e96ff36 /Completion/Linux/Command/_pidof
parentb69a3416192f47b1ebc4f93df5e507d4cb1f3894 (diff)
downloadzsh-39f58eb318104d15afbe8dbdb9c93df2b50c2b69.tar.gz
zsh-39f58eb318104d15afbe8dbdb9c93df2b50c2b69.tar.xz
zsh-39f58eb318104d15afbe8dbdb9c93df2b50c2b69.zip
42659: various completion option updates
Diffstat (limited to 'Completion/Linux/Command/_pidof')
-rw-r--r--Completion/Linux/Command/_pidof3
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Linux/Command/_pidof b/Completion/Linux/Command/_pidof
index 6605e7e67..05fb23d45 100644
--- a/Completion/Linux/Command/_pidof
+++ b/Completion/Linux/Command/_pidof
@@ -10,7 +10,8 @@ _arguments -C -s -w \
   "(-s --single-shot $exargs)"{-s,--single-shot}'[return one PID only]' \
   "(-c --check-root $exargs)"{-c,--check-root}'[omit processes with different root]' \
   "(-x $exargs)"-x'[include shells running named scripts]' \
-  "($exargs)"\*{-o+,--omit-pid}'[omit processes with PIDs]:pids:_sequence -s , _pids' \
+  "($exargs)"\*{-o+,--omit-pid=}'[omit processes with PIDs]:pids:_sequence -s , _pids' \
+  '(-S --separator)'{-S+,--separator=}'[specify separator put between PIDs]:separator' \
   '*:process:->procnames' \
   && return 0