Log invalid action called

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2022-09-02 15:55:20 +02:00
parent c3d997effc
commit 6059afdaa9
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -59,12 +59,12 @@ function main() {
check_command "${cmd}" check_command "${cmd}"
done done
case "${1:-help}" in case "${1:-}" in
get) get ;; get) get ;;
erase) erase ;; erase) erase ;;
store) store ;; store) store ;;
*) *)
echo "Supported are only: get, erase, store'" >&2 echo "$(basename $0): Supported are only: get, erase, store (called '${1:-}')" >&2
exit 1 exit 1
;; ;;
esac esac