From d0021432ad9d410236b8bdbe2ee939b3fec40319 Mon Sep 17 00:00:00 2001 From: Benedikt Heine Date: Wed, 25 Oct 2017 13:37:08 +0200 Subject: [PATCH] lockscreen: bugfix Invalid options --- i3/lockscreen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i3/lockscreen.sh b/i3/lockscreen.sh index 8d703d4..c8b979a 100755 --- a/i3/lockscreen.sh +++ b/i3/lockscreen.sh @@ -89,11 +89,11 @@ while getopts ":hdfln" opt; do daemon ;; \?) - error "Invalid option: -args" + error "Invalid option: -${opt}" usage ;; :) - error "Option -args requires an argument." + error "Option -${opt} requires an argument." usage ;; esac