diff options
| author | Simeon Simeonov | 2024-05-13 21:52:13 +0200 |
|---|---|---|
| committer | Simeon Simeonov | 2024-05-13 21:52:13 +0200 |
| commit | 08a3280b062af83ee50fa139d7827d954907886e (patch) | |
| tree | 8e1d3f3117d05b3ad779d070ec30ddbbe242e62b /completion | |
| parent | bb9a844e22134a2537652ea14f93e82acb4ee380 (diff) | |
Implement re-encryption support2.0.0
Diffstat (limited to 'completion')
| -rw-r--r-- | completion/etoolkit.bash | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/completion/etoolkit.bash b/completion/etoolkit.bash index 2e80811..8faefc2 100644 --- a/completion/etoolkit.bash +++ b/completion/etoolkit.bash | |||
| @@ -30,7 +30,7 @@ _etoolkit() { | |||
| 30 | all_params="-d --decrypt-value -e --encrypt-value -l --list -h --help | 30 | all_params="-d --decrypt-value -e --encrypt-value -l --list -h --help |
| 31 | -P --master-password-prompt -p --generate-master-password-hash | 31 | -P --master-password-prompt -p --generate-master-password-hash |
| 32 | -c --config-file -E --echo -m --multiple-values -q --no-output | 32 | -c --config-file -E --echo -m --multiple-values -q --no-output |
| 33 | -s --spawn -v --version" | 33 | -r --reencrypt -s --spawn -v --version" |
| 34 | # if [ ${prev:0:1} == "-" ] | 34 | # if [ ${prev:0:1} == "-" ] |
| 35 | 35 | ||
| 36 | if [ ${COMP_CWORD} -eq 1 ]; then | 36 | if [ ${COMP_CWORD} -eq 1 ]; then |
| @@ -78,6 +78,11 @@ _etoolkit() { | |||
| 78 | COMPREPLY=($(compgen -W "-d --decrypt-value -E -e --echo --encrypt-value -m --multiple-values" -- "$cur")) | 78 | COMPREPLY=($(compgen -W "-d --decrypt-value -E -e --echo --encrypt-value -m --multiple-values" -- "$cur")) |
| 79 | return | 79 | return |
| 80 | ;; | 80 | ;; |
| 81 | "-r" | "--reencrypt") | ||
| 82 | COMPREPLY=($(compgen -W "all" -- "$cur")) | ||
| 83 | _instances "$cur" | ||
| 84 | return | ||
| 85 | ;; | ||
| 81 | "-s" | "--spawn") | 86 | "-s" | "--spawn") |
| 82 | COMPREPLY=($(compgen -c -- "$cur")) | 87 | COMPREPLY=($(compgen -c -- "$cur")) |
| 83 | return | 88 | return |
