_sd_outputmodes revision a02c5fe7cbad3ca0536286ceab0bde5fb1c0ba13
#autoload
local -a _output_opts
_output_opts=(short short-monotonic verbose export json json-pretty json-see cat)
_describe -t output 'output mode' _output_opts || compadd "$@"