Log invalid action called
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
c3d997effc
commit
6059afdaa9
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue