diff --git a/hyprlock.sh b/hyprlock.sh index 7f7820a..696c57a 100644 --- a/hyprlock.sh +++ b/hyprlock.sh @@ -43,6 +43,11 @@ elif [ "$1" == "status" ]; then fi done exit +elif [ "$1" == "help" ] || [ "$1" == "-h" ] || [ "$1" == "-help" ] || [ "$1" == "--help" ]; then + echo Usage: + echo -e "\thyprlock status" + echo -e "\thyprlock [monitor_id]" + exit fi monitor=$(echo "$monitors" | jq -c ".[$1]")