1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 13:33:52 +01:00

unposted: arguments are required after -imagekey, -srcimagekey options

This commit is contained in:
Motoi WASHIDA 2005-03-03 20:10:40 +00:00
parent da1d4534a6
commit b7ab36d9f6
2 changed files with 8 additions and 5 deletions

@ -2,6 +2,9 @@
* unposted: Completion/Darwin/Command/_softwareupdate: new completion * 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> 2005-03-03 Oliver Kiddle <opk@zsh.org>
* 20921, 20924: Src/utils.c, Completion/Unix/Command/_iconv: * 20921, 20924: Src/utils.c, Completion/Unix/Command/_iconv:

@ -84,9 +84,9 @@ _hdiutil(){
-stdinpass "-stdinpass[specify password from standard input]" -stdinpass "-stdinpass[specify password from standard input]"
-certificate "-certificate[secondary access certificate]:certificate file:_files" -certificate "-certificate[secondary access certificate]:certificate file:_files"
-cacert "-cacert[certificate authority certificate]: :_files" -cacert "-cacert[certificate authority certificate]: :_files"
-imagekey "*-imagekey[image key]:: :->keyvalue" -imagekey "*-imagekey[image key]: :->keyvalue"
-srcimagekey "*-srcimagekey[source image key]:: :->keyvalue" -srcimagekey "*-srcimagekey[source image key]: :->keyvalue"
-tgtimagekey "*-tgtimagekey[target image key]:: :->keyvalue" -tgtimagekey "*-tgtimagekey[target image key]: :->keyvalue"
-insecurehttp "-insecurehttp[ignore SSL host validation failure]" -insecurehttp "-insecurehttp[ignore SSL host validation failure]"
-plist "-plist[display output in plist format]" -plist "-plist[display output in plist format]"
-recover "-recover[keychain to unlock]:keychain file:_files -g \*.keychain" -recover "-recover[keychain to unlock]:keychain file:_files -g \*.keychain"
@ -240,8 +240,8 @@ _hdiutil(){
if [[ $state = keyvalue ]]; then if [[ $state = keyvalue ]]; then
_values 'key=value' \ _values 'key=value' \
"di-sparse-puma-compatible:(TRUE FALSE)" \ "di-sparse-puma-compatible: :(TRUE FALSE)" \
"di-shadow-puma-compatible:(TRUE FALSE)" \ "di-shadow-puma-compatible: :(TRUE FALSE)" \
"encrypted-encoding-version:version:(1 2)" \ "encrypted-encoding-version:version:(1 2)" \
"zlib-level:compression level:(1 2 3 4 5 6 7 8 9)" && return 0 "zlib-level:compression level:(1 2 3 4 5 6 7 8 9)" && return 0
fi fi