Lines Matching refs:mode

9     local mode=$1; shift 1
10 systemctl $mode --full --legend=no --no-pager --plain "$@" 2>/dev/null
26 local mode=$1 properties=$2; shift 2
34 <(__systemctl $mode show --property "Names,$properties" -- "${units[@]}")
124 local i verb comps mode cur_orig
131 [ARG]='--host -H --kill-who --property -p --signal -s --type -t --state --job-mode --root
132 … --preset-mode -n --lines -o --output -M --machine --message --timestamp --check-inhibitors'
136 mode=--user
138 mode=--user
140 mode=--system
150 comps=$(__systemctl $mode -t help)
153 comps=$(__systemctl $mode --state=help)
155 --job-mode)
172 --preset-mode)
261 comps=$( __get_all_units $mode "$cur" )
265 comps=$( __get_non_template_units $mode "$cur" )
269 comps=$( __get_enabled_units $mode "$cur" )
273 comps=$( __get_disabled_units $mode "$cur";
274 __get_template_names $mode "$cur")
278 comps=$( __get_disabled_units $mode "$cur";
279 __get_enabled_units $mode "$cur";
280 __get_template_names $mode "$cur")
284 comps=$( __get_startable_units $mode "$cur" )
288 comps=$( __get_restartable_units $mode "$cur" )
292 comps=$( __get_stoppable_units $mode "$cur" )
296 comps=$( __get_reloadable_units $mode "$cur" )
300 comps=$( __filter_units_by_properties $mode AllowIsolate=yes \
301 $( __get_non_template_units $mode "$cur" ) )
305 comps=$( __get_failed_units $mode "$cur" )
309 comps=$( __get_masked_units $mode "$cur" )
315 comps=$( __systemctl $mode list-unit-files --type target --all "$cur*" \
318 comps=$( __get_all_unit_files $mode "$cur" )
326 comps=$( __systemctl $mode list-jobs | { while read -r a b; do echo " $a"; done; } )
329 comps=$( __systemctl $mode show-environment \
334 comps=$( __systemctl $mode show-environment \
347 comps=$( __systemctl $mode list-unit-files --type target --full --all "$cur*" \