__systemctl() {
local mode=$1; shift 1
- systemctl $mode --full --no-legend --no-pager --plain "$@" 2>/dev/null
+ systemctl $mode --full --legend=no --no-pager --plain "$@" 2>/dev/null
}
__systemd_properties() {
local -A OPTS=(
[STANDALONE]='--all -a --reverse --after --before --defaults --force -f --full -l --global
- --help -h --no-ask-password --no-block --no-legend --no-pager --no-reload --no-wall --now
+ --help -h --no-ask-password --no-block --legend=no --no-pager --no-reload --no-wall --now
--quiet -q --system --user --version --runtime --recursive -r --firmware-setup
--show-types --plain --failed --value --fail --dry-run --wait'
[ARG]='--host -H --kill-who --property -p --signal -s --type -t --state --job-mode --root
# @todo _systemd-run has a helper with the same name, so we must redefine
__systemctl()
{
- systemctl $_sys_service_mgr --full --no-legend --no-pager --plain "$@" 2>/dev/null
+ systemctl $_sys_service_mgr --full --legend=no --no-pager --plain "$@" 2>/dev/null
}
'--check-inhibitors[Specify if inhibitors should be checked]:mode:_systemctl_check_inhibitors' \
{-q,--quiet}'[Suppress output]' \
'--no-block[Do not wait until operation finished]' \
- '--no-legend[Do not print a legend, i.e. the column headers and the footer with hints]' \
+ '--legend=no[Do not print a legend, i.e. the column headers and the footer with hints]' \
'--no-pager[Do not pipe output into a pager]' \
'--system[Connect to system manager]' \
'--user[Connect to user service manager]' \