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