From 7c19172f87b6fe35dffd8f9a252c3c10efe13aa2 Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Tue, 25 Nov 2025 22:40:16 +0400 Subject: fix(scripts): fix shellcheck errors and warnings --- scripts/cli/slight | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'scripts/cli/slight') diff --git a/scripts/cli/slight b/scripts/cli/slight index d239d8e..770553a 100755 --- a/scripts/cli/slight +++ b/scripts/cli/slight @@ -21,12 +21,12 @@ exit 0 brightness_handle check_program [ ${#} != 1 ] && [ ${#} != 2 ] && invalid_use -while getopts "i:d:s:ph" option; do +while getopts "i:d:s:tph" option; do case "${option}" in - i) run --reload-status "brightness_handle up ${OPTARG}" ;; - d) run --reload-status "brightness_handle down ${OPTARG}" ;; - s) run --reload-status "brightness_handle set ${OPTARG}" ;; - t) run --reload-status "brightness_handle toggle" ;; + i) run --reload-status brightness_handle up "${OPTARG}" ;; + d) run --reload-status brightness_handle down "${OPTARG}" ;; + s) run --reload-status brightness_handle set "${OPTARG}" ;; + t) run --reload-status brightness_handle toggle ;; p) brightness_handle get-current ;; h) help ;; -- cgit v1.2.3