diff options
| author | Suleyman Farajli <suleyman@farajli.net> | 2025-11-25 19:24:30 +0400 |
|---|---|---|
| committer | Suleyman Farajli <suleyman@farajli.net> | 2025-11-25 19:24:30 +0400 |
| commit | f1ac6e645ace0f5f014cce85578e55ad356345ba (patch) | |
| tree | f93e53d268f6bd1cb0b2e45f00a8cf802579380c /scripts | |
| parent | f59f694e4e35ab2e1f1bba9b17b0b2fed60b5d38 (diff) | |
fix: use `progname` instead of `${0}` in help message
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/cli/noc | 2 | ||||
| -rwxr-xr-x | scripts/cli/nospac | 2 | ||||
| -rwxr-xr-x | scripts/cli/slight | 2 | ||||
| -rwxr-xr-x | scripts/cli/svol | 2 |
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 |
