mirror of
git://git.code.sf.net/p/zsh/code
synced 2026-01-21 02:31:02 +01:00
11 lines
464 B
Text
11 lines
464 B
Text
#compdef sw_vers
|
|
|
|
# Only options with a single dash '-' are accepted on Monterey or older,
|
|
# but both a single and double dashes are accepted on Ventura (or newer).
|
|
# We may replace '-' by '--' when Monterey fades out.
|
|
|
|
_arguments : \
|
|
'(-)-buildVersion[display build version only]' \
|
|
'(-)-productName[display product name only]' \
|
|
'(-)-productVersion[display product version only]' \
|
|
'(-)-productVersionExtra[display rapid security response version only]'
|