1#compdef systemd-delta 2# SPDX-License-Identifier: LGPL-2.1-or-later 3 4(( $+functions[_systemd-delta_types] )) || 5_systemd-delta_types() { 6 local -a _delta_types 7 _delta_types=(masked equivalent redirected overridden unchanged) 8 _values -s , "${_delta_types[@]}" 9} 10 11_arguments \ 12 {-h,--help}'[Show this help]' \ 13 '--version[Show package version]' \ 14 '--no-pager[Do not pipe output into a pager]' \ 15 '--diff=[Show a diff when overridden files differ]:boolean:(1 0)' \ 16 {-t+,--type=}'[Only display a selected set of override types]:types:_systemd-delta_types' \ 17 ':SUFFIX:(tmpfiles.d sysctl.d systemd/system)' 18