busctl: add --num-matches= for monitor verb

Useful in scripts when one wants to wait for a specific
signal before continuing
This commit is contained in:
Luca Boccassi
2024-08-09 12:12:28 +01:00
parent 989e843e75
commit 702d74b62a
5 changed files with 36 additions and 2 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ _busctl() {
--allow-interactive-authorization=no --augment-creds=no
--watch-bind=yes -j -l --full --xml-interface'
[ARG]='--address -H --host -M --machine --match --timeout --size --json
--destination'
--destination --num-matches'
)
if __contains_word "--user" ${COMP_WORDS[*]}; then