-q --quiet --verbose --expect-reply=no --auto-start=no
--allow-interactive-authorization=no --augment-creds=no
--watch-bind=yes -j'
- [ARG]='--address -H --host -M --machine --match --timeout --size --json'
+ [ARG]='--address -H --host -M --machine --match --timeout --size --json
+ --destination'
)
if __contains_word "--user" ${COMP_WORDS[*]}; then
--json)
comps=$( busctl --json=help 2>/dev/null )
;;
+ --destination)
+ comps=$( __get_busnames $mode )
+ ;;
esac
COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
return 0
[BUSNAME]='status monitor capture tree'
[OBJECT]='introspect'
[METHOD]='call'
+ [EMIT]='emit'
[PROPERTY_GET]='get-property'
[PROPERTY_SET]='set-property'
)
else
comps=''
fi
+ elif __contains_word "$verb" ${VERBS[EMIT]}; then
+ comps=''
elif __contains_word "$verb" ${VERBS[PROPERTY_GET]}; then
if [[ $n -eq 1 ]] ; then
comps=$( __get_busnames $mode)