mirror of
https://github.com/ryantm/agenix.git
synced 2024-12-22 23:58:29 +03:00
add verbose flag
This commit is contained in:
parent
092ba8b166
commit
920acdd8ff
1 changed files with 5 additions and 0 deletions
|
@ -19,6 +19,7 @@ function show_help () {
|
|||
echo '-e, --edit FILE edits FILE using $EDITOR'
|
||||
echo '-r, --rekey re-encrypts all secrets with specified recipients'
|
||||
echo '-i, --identity identity to use when decrypting'
|
||||
echo '-v, --verbose verbose output'
|
||||
echo ' '
|
||||
echo 'FILE an age-encrypted file'
|
||||
echo ' '
|
||||
|
@ -68,6 +69,10 @@ while test $# -gt 0; do
|
|||
shift
|
||||
REKEY=1
|
||||
;;
|
||||
-v|--verbose)
|
||||
shift
|
||||
set -x
|
||||
;;
|
||||
*)
|
||||
show_help
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue