summaryrefslogtreecommitdiff
path: root/scripts/cli
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2025-11-25 19:24:30 +0400
committerSuleyman Farajli <suleyman@farajli.net>2025-11-25 19:24:30 +0400
commitf1ac6e645ace0f5f014cce85578e55ad356345ba (patch)
treef93e53d268f6bd1cb0b2e45f00a8cf802579380c /scripts/cli
parentf59f694e4e35ab2e1f1bba9b17b0b2fed60b5d38 (diff)
fix: use `progname` instead of `${0}` in help message
Diffstat (limited to 'scripts/cli')
-rwxr-xr-xscripts/cli/noc2
-rwxr-xr-xscripts/cli/nospac2
-rwxr-xr-xscripts/cli/slight2
-rwxr-xr-xscripts/cli/svol2
4 files changed, 4 insertions, 4 deletions
diff --git a/scripts/cli/noc b/scripts/cli/noc
index 63bee86..0e4d8b2 100755
--- a/scripts/cli/noc
+++ b/scripts/cli/noc
@@ -4,7 +4,7 @@
help() {
cat << EOF
-${0}: Remove empty lines and all the comments starting with '#'.
+${progname}: Remove empty lines and all the comments starting with '#'.
options:
-h Print this message and exit
EOF
diff --git a/scripts/cli/nospac b/scripts/cli/nospac
index 7ee5b36..414e68d 100755
--- a/scripts/cli/nospac
+++ b/scripts/cli/nospac
@@ -4,7 +4,7 @@
help() {
cat << EOF
-${0}: Replace all the spaces in file and directory
+${progname}: Replace all the spaces in file and directory
names with "_" in in the current directory.
options:
-h Print this message and exit
diff --git a/scripts/cli/slight b/scripts/cli/slight
index 4efbf19..d239d8e 100755
--- a/scripts/cli/slight
+++ b/scripts/cli/slight
@@ -5,7 +5,7 @@
help() {
cat << EOF
-${0}: Wrapper script to change backlight
+${progname}: Wrapper script to change backlight
options:
-i [Brg] Increase backlight by Brg
-d [Brg] Decrease backlight by Brg
diff --git a/scripts/cli/svol b/scripts/cli/svol
index db72c17..64f4a2f 100755
--- a/scripts/cli/svol
+++ b/scripts/cli/svol
@@ -5,7 +5,7 @@
help() {
cat << EOF
-${0}: Change volume
+${progname}: Change volume
options:
-i [Vol] Increase volume by Vol
-d [Vol] Decrease volume by Vol