2021-06-16 19:35:12 +00:00
|
|
|
#compdef systemd-delta
|
2020-11-09 04:23:58 +00:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2013-08-15 03:09:14 +00:00
|
|
|
|
2018-12-24 11:15:38 +00:00
|
|
|
(( $+functions[_systemd-delta_types] )) ||
|
|
|
|
_systemd-delta_types() {
|
2013-08-15 03:09:14 +00:00
|
|
|
local -a _delta_types
|
|
|
|
_delta_types=(masked equivalent redirected overridden unchanged)
|
|
|
|
_values -s , "${_delta_types[@]}"
|
|
|
|
}
|
|
|
|
|
|
|
|
_arguments \
|
2024-04-15 08:58:48 +00:00
|
|
|
'(- :)'{-h,--help}'[Show this help]' \
|
|
|
|
'(- :)--version[Show package version]' \
|
2013-08-15 03:09:14 +00:00
|
|
|
'--no-pager[Do not pipe output into a pager]' \
|
|
|
|
'--diff=[Show a diff when overridden files differ]:boolean:(1 0)' \
|
2018-12-24 11:15:38 +00:00
|
|
|
{-t+,--type=}'[Only display a selected set of override types]:types:_systemd-delta_types' \
|
2013-08-15 03:09:14 +00:00
|
|
|
':SUFFIX:(tmpfiles.d sysctl.d systemd/system)'
|