diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-08-25 01:09:10 +0300 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-08-25 01:09:10 +0300 |
commit | 4817c1bc0222f7172d1acb9c18912a7e6f36a3c7 (patch) | |
tree | 866b26eb026059150f3cfbcbe3626b9cd09bdd36 /.local/bin/vlt | |
parent | a6afe32f76cfaaaf52befba24c5634e1f3ed1912 (diff) |
bin/sbin: Refactor shell scripts
Diffstat (limited to '.local/bin/vlt')
-rwxr-xr-x | .local/bin/vlt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/.local/bin/vlt b/.local/bin/vlt index 4121207..af68545 100755 --- a/.local/bin/vlt +++ b/.local/bin/vlt @@ -15,10 +15,12 @@ sanitize() usage() { - echo "Usage: ${0##*/} add [-c]" >&2 - echo " ${0##*/} edit [-c]" >&2 - echo " ${0##*/} get" >&2 - echo " ${0##*/} rm [-c]" >&2 + cat <<-EOF >&2 + Usage: ${0##*/} add [-c] + ${0##*/} edit [-c] + ${0##*/} get + ${0##*/} rm [-c] + EOF exit 1 } |