Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH 2/4] Update sw_vers completion
- Add 'productVersionExtra' flag
- Use '--' double dashes instead of '-' single dash
Its manpage says "sw_vers is backwards compatible with previous versions
which expect options passed with a single dash"
---
Completion/Darwin/Command/_sw_vers | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/Completion/Darwin/Command/_sw_vers b/Completion/Darwin/Command/_sw_vers
index 11814e0b0..b5b26580e 100644
--- a/Completion/Darwin/Command/_sw_vers
+++ b/Completion/Darwin/Command/_sw_vers
@@ -1,6 +1,7 @@
#compdef sw_vers
_arguments : \
- '(-)-buildVersion[display build version only]' \
- '(-)-productName[display product name only]' \
- '(-)-productVersion[display product version only]'
+ '(-)--buildVersion[display build version only]' \
+ '(-)--productName[display product name only]' \
+ '(-)--productVersion[display product version only]' \
+ '(-)--productVersionExtra[display rapid security response version only]'
--
2.42.0
Messages sorted by:
Reverse Date,
Date,
Thread,
Author