add verbose flag

This commit is contained in:
Ryan Mulligan 2020-12-19 08:52:54 -08:00
parent 092ba8b166
commit 920acdd8ff
1 changed files with 5 additions and 0 deletions

View File

@ -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