From 4817c1bc0222f7172d1acb9c18912a7e6f36a3c7 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 25 Aug 2023 01:09:10 +0300 Subject: bin/sbin: Refactor shell scripts --- .local/bin/vlt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to '.local/bin/vlt') 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 } -- cgit v1.2.3