blob: 415d3a05c4bf4ef28cc6ce0ae7b1b04fe67b03db (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#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]'
|