From f1ac6e645ace0f5f014cce85578e55ad356345ba Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Tue, 25 Nov 2025 19:24:30 +0400 Subject: fix: use `progname` instead of `${0}` in help message --- scripts/cli/noc | 2 +- scripts/cli/nospac | 2 +- scripts/cli/slight | 2 +- scripts/cli/svol | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts/cli') 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 -- cgit v1.2.3