summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Darwin/Command/_hdiutil10
2 files changed, 8 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index e343d5e53..4cc6bb473 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
 
 	* unposted: Completion/Darwin/Command/_softwareupdate: new completion
 
+	* unposted: Completion/Darwin/Command/_hdiutil: arguments are
+	required after -imagekey, -srcimagekey options
+
 2005-03-03  Oliver Kiddle  <opk@zsh.org>
 
 	* 20921, 20924: Src/utils.c, Completion/Unix/Command/_iconv:
diff --git a/Completion/Darwin/Command/_hdiutil b/Completion/Darwin/Command/_hdiutil
index 4d4567ec6..c940f4739 100644
--- a/Completion/Darwin/Command/_hdiutil
+++ b/Completion/Darwin/Command/_hdiutil
@@ -84,9 +84,9 @@ _hdiutil(){
     -stdinpass "-stdinpass[specify password from standard input]"
     -certificate "-certificate[secondary access certificate]:certificate file:_files"
     -cacert "-cacert[certificate authority certificate]: :_files"
-    -imagekey "*-imagekey[image key]:: :->keyvalue"
-    -srcimagekey "*-srcimagekey[source image key]:: :->keyvalue"
-    -tgtimagekey "*-tgtimagekey[target image key]:: :->keyvalue"
+    -imagekey "*-imagekey[image key]: :->keyvalue"
+    -srcimagekey "*-srcimagekey[source image key]: :->keyvalue"
+    -tgtimagekey "*-tgtimagekey[target image key]: :->keyvalue"
     -insecurehttp "-insecurehttp[ignore SSL host validation failure]"
     -plist "-plist[display output in plist format]"
     -recover "-recover[keychain to unlock]:keychain file:_files -g \*.keychain"
@@ -240,8 +240,8 @@ _hdiutil(){
         
       if [[ $state = keyvalue ]]; then
         _values 'key=value' \
-          "di-sparse-puma-compatible:(TRUE FALSE)" \
-          "di-shadow-puma-compatible:(TRUE FALSE)" \
+          "di-sparse-puma-compatible: :(TRUE FALSE)" \
+          "di-shadow-puma-compatible: :(TRUE FALSE)" \
           "encrypted-encoding-version:version:(1 2)" \
           "zlib-level:compression level:(1 2 3 4 5 6 7 8 9)" && return 0
       fi