aboutsummaryrefslogtreecommitdiffstats
path: root/bash-completion
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas@t-8ch.de>2023-03-02 21:06:31 +0000
committerThomas Weißschuh <thomas@t-8ch.de>2023-03-02 22:12:37 +0000
commitf0e793a3d9083aa5d8bfe1ec27ce107f2df6780f (patch)
tree8b8a4a4002318c3c5c53be32888323f2eb0e4b4e /bash-completion
parentffe45d3bfba9f94e1b3ceb8bf5da4697208286a5 (diff)
downloadutil-linux-f0e793a3d9083aa5d8bfe1ec27ce107f2df6780f.tar.gz
waitpid: allow to only wait for a specific number of process exits
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
Diffstat (limited to 'bash-completion')
-rw-r--r--bash-completion/waitpid4
1 files changed, 4 insertions, 0 deletions
diff --git a/bash-completion/waitpid b/bash-completion/waitpid
index 67601bb8f7..60ea275afc 100644
--- a/bash-completion/waitpid
+++ b/bash-completion/waitpid
@@ -9,6 +9,9 @@ _waitpid_module()
COMPREPLY=( $(compgen -W "seconds" -- $cur) )
return 0
;;
+ '-c'|'--count')
+ return 0
+ ;;
'-h'|'--help'|'-V'|'--version')
return 0
;;
@@ -18,6 +21,7 @@ _waitpid_module()
OPTS="--verbose
--timeout
--exited
+ --count
--help
--version"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )