diff options
author | Shohei YOSHIDA <syohex@gmail.com> | 2023-08-28 13:12:50 +0900 |
---|---|---|
committer | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2023-08-28 13:12:50 +0900 |
commit | a8853323dd631ba26869ea6e0bf1b8098247731d (patch) | |
tree | 3f6d0f8b524e5334c85a716cc0700ec2befdfaf1 /Completion/Darwin/Command/_sw_vers | |
parent | 53fe16e9b52f44e2c9327901ef60b5a5a4384a96 (diff) | |
download | zsh-a8853323dd631ba26869ea6e0bf1b8098247731d.tar.gz zsh-a8853323dd631ba26869ea6e0bf1b8098247731d.tar.xz zsh-a8853323dd631ba26869ea6e0bf1b8098247731d.zip |
52098, 52099, 52100, 52105(+minor tweak): update for latest macOS
Diffstat (limited to 'Completion/Darwin/Command/_sw_vers')
-rw-r--r-- | Completion/Darwin/Command/_sw_vers | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Completion/Darwin/Command/_sw_vers b/Completion/Darwin/Command/_sw_vers index 11814e0b0..415d3a05c 100644 --- a/Completion/Darwin/Command/_sw_vers +++ b/Completion/Darwin/Command/_sw_vers @@ -1,6 +1,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]' + '(-)-productVersion[display product version only]' \ + '(-)-productVersionExtra[display rapid security response version only]' |