@@ -6,12 +6,12 @@ _transcrypt() {
6
6
7
7
_arguments \
8
8
'(- 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:' \
11
11
'(- 1 *)'{-v,--version}'[print version]' \
12
12
'(- 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:' \
15
15
'(-y --yes)'{-y,--yes}'[assume yes and accept defaults]' \
16
16
'(-d --display -p --password -c --cipher -r --rekey -u --uninstall)'{-d,--display}'[display current credentials]' \
17
17
'(-r --rekey -d --display -f --flush-credentials -u --uninstall)'{-r,--rekey}'[rekey all encrypted files]' \
@@ -20,12 +20,12 @@ _transcrypt() {
20
20
'(-u --uninstall -c --cipher -d --display -f --flush-credentials -p --password -r --rekey)'{-u,--uninstall}'[uninstall transcrypt]' \
21
21
'(-set-openssl-path -c --cipher -d --display -f --flush-credentials -p --password -r --rekey)--set-openssl-path=[use OpenSSL at this path]:file:->file' \
22
22
'(--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' \
24
24
&& return 0
25
25
26
26
case $state in
27
27
cipher)
28
- ciphers=( ${(f)"$(_call_program available-ciphers openssl list-cipher-commands)"} )
28
+ ciphers=( ${(f)"$(_call_program available-ciphers openssl list -cipher-commands)"} )
29
29
_describe -t available-ciphers 'available ciphers' ciphers
30
30
;;
31
31
file)
0 commit comments