@@ -6,12 +6,12 @@ _transcrypt() {
66
77 _arguments \
88 '(- 1 *)'{-l,--list}'[list encrypted files]' \
9- '(- 1 *)'{-s,--show-raw=}'[show raw file]:file:->file' \
10- '(- 1 *)'{-e,--export-gpg=}'[export config to gpg recipient]:recipient:' \
9+ '(- 1 *)'{-s= ,--show-raw=}'[show raw file]:file:->file' \
10+ '(- 1 *)'{-e= ,--export-gpg=}'[export config to gpg recipient]:recipient:' \
1111 '(- 1 *)'{-v,--version}'[print version]' \
1212 '(- 1 *)'{-h,--help}'[view help message]' \
13- '(-c --cipher -d --display -f --flush-credentials -u --uninstall)'{-c,--cipher=}'[specify encryption cipher]:cipher:->cipher' \
14- '(-p --password -d --display -f --flush-credentials -u --uninstall)'{-p,--password=}'[specify encryption password]:password:' \
13+ '(-c --cipher -d --display -f --flush-credentials -u --uninstall)'{-c= ,--cipher=}'[specify encryption cipher]:cipher:->cipher' \
14+ '(-p --password -d --display -f --flush-credentials -u --uninstall)'{-p= ,--password=}'[specify encryption password]:password:' \
1515 '(-y --yes)'{-y,--yes}'[assume yes and accept defaults]' \
1616 '(-d --display -p --password -c --cipher -r --rekey -u --uninstall)'{-d,--display}'[display current credentials]' \
1717 '(-r --rekey -d --display -f --flush-credentials -u --uninstall)'{-r,--rekey}'[rekey all encrypted files]' \
@@ -20,12 +20,12 @@ _transcrypt() {
2020 '(-u --uninstall -c --cipher -d --display -f --flush-credentials -p --password -r --rekey)'{-u,--uninstall}'[uninstall transcrypt]' \
2121 '(-set-openssl-path -c --cipher -d --display -f --flush-credentials -p --password -r --rekey)--set-openssl-path=[use OpenSSL at this path]:file:->file' \
2222 '(--upgrade -c --cipher -d --display -f --flush-credentials -p --password -r --rekey)--upgrade[upgrade transcrypt]' \
23- '(-i --import-gpg -c --cipher -p --password -d --display -f --flush-credentials -u --uninstall)'{-i,--import-gpg=}'[import config from gpg file]:file:->file' \
23+ '(-i --import-gpg -c --cipher -p --password -d --display -f --flush-credentials -u --uninstall)'{-i= ,--import-gpg=}'[import config from gpg file]:file:->file' \
2424 && return 0
2525
2626 case $state in
2727 cipher)
28- ciphers=( ${(f)"$(_call_program available-ciphers openssl list-cipher-commands)"} )
28+ ciphers=( ${(f)"$(_call_program available-ciphers openssl list -cipher-commands)"} )
2929 _describe -t available-ciphers 'available ciphers' ciphers
3030 ;;
3131 file)
0 commit comments