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 '-e, --edit FILE edits FILE using $EDITOR'
|
||||||
echo '-r, --rekey re-encrypts all secrets with specified recipients'
|
echo '-r, --rekey re-encrypts all secrets with specified recipients'
|
||||||
echo '-i, --identity identity to use when decrypting'
|
echo '-i, --identity identity to use when decrypting'
|
||||||
|
echo '-v, --verbose verbose output'
|
||||||
echo ' '
|
echo ' '
|
||||||
echo 'FILE an age-encrypted file'
|
echo 'FILE an age-encrypted file'
|
||||||
echo ' '
|
echo ' '
|
||||||
|
@ -68,6 +69,10 @@ while test $# -gt 0; do
|
||||||
shift
|
shift
|
||||||
REKEY=1
|
REKEY=1
|
||||||
;;
|
;;
|
||||||
|
-v|--verbose)
|
||||||
|
shift
|
||||||
|
set -x
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
show_help
|
show_help
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue