diff options
author | Suleyman Farajli <suleyman@farajli.net> | 2025-06-20 17:16:00 +0400 |
---|---|---|
committer | Suleyman Farajli <suleyman@farajli.net> | 2025-06-20 17:16:00 +0400 |
commit | 15c47cb8c7d5662be0fdb68800cedaa133949b56 (patch) | |
tree | 19a70113bcc9b3a8adebd2a33b2fdd074f31dc42 | |
parent | 45f88070196a67fae791dd1bc99d9b4e2610803c (diff) |
style (scripts): use spaces instead of tabs in help messages
-rwxr-xr-x | scripts/br | 4 | ||||
-rwxr-xr-x | scripts/nospac | 3 | ||||
-rwxr-xr-x | scripts/nsend | 7 | ||||
-rwxr-xr-x | scripts/qw | 7 | ||||
-rwxr-xr-x | scripts/sdev | 13 | ||||
-rwxr-xr-x | scripts/shot | 7 | ||||
-rwxr-xr-x | scripts/slight | 13 | ||||
-rwxr-xr-x | scripts/svol | 13 | ||||
-rwxr-xr-x | scripts/swall | 7 |
9 files changed, 34 insertions, 40 deletions
@@ -6,8 +6,8 @@ help() { cat << EOF ${0}: Open links from bookmarks through dmenu options: -[link] Open link - -h Print this message and exit +[link] Open link + -h Print this message and exit NOTE: bookmarks file is located at ~/.config/sites/bookmarks EOF diff --git a/scripts/nospac b/scripts/nospac index 650c216..6ba466a 100755 --- a/scripts/nospac +++ b/scripts/nospac @@ -4,9 +4,8 @@ help() { cat << EOF ${0}: Replace all the spaces in file and directory names with "_" in in the current directory. - options: - -h Print this message and exit + -h Print this message and exit EOF } diff --git a/scripts/nsend b/scripts/nsend index 5aef4fd..3d28683 100755 --- a/scripts/nsend +++ b/scripts/nsend @@ -5,11 +5,10 @@ help() { cat << EOF ${0}: Wrapper script to send notifications - options: - -s [Name] [Msg] Send Msg with Name - -s [Msg] Send Msg Without Name - -h Print this message and exit + -s [Name] [Msg] Send Msg with Name + -s [Msg] Send Msg Without Name + -h Print this message and exit EOF exit 0 @@ -6,11 +6,10 @@ help() { cat << EOF ${0}: Qemu Wrapper, very simple script for abriviating \ verbose qemu commands and options - options: - -c create an Image.img with 10G space - -r [input.iso] run input.iso - -x [input.qcow2] run input.qcow2 + -c create an Image.img with 10G space + -r [input.iso] run input.iso + -x [input.qcow2] run input.qcow2 EOF exit 0 diff --git a/scripts/sdev b/scripts/sdev index 39f22c5..c227771 100755 --- a/scripts/sdev +++ b/scripts/sdev @@ -5,15 +5,14 @@ help() { cat << EOF ${0}: Disable and Enable devices - options: - -e [dev] Enable dev - -d [dev] Disable dev - -t [dev] Toggle dev - -l List devices - -h Print this message and exit + -e [dev] Enable dev + -d [dev] Disable dev + -t [dev] Toggle dev + -l List devices + -h Print this message and exit -Note: Nondescriptive inputs may disable (or enable) unwanted devices. +Note: Nondescriptive inputs may disable/enable unwanted devices. EOF exit 0 diff --git a/scripts/shot b/scripts/shot index 4a58dd2..1d296c8 100755 --- a/scripts/shot +++ b/scripts/shot @@ -5,11 +5,10 @@ help() { cat << EOF ${0}: Wrapper script to take screenshots - options: - -d [File] Write to File - -s Select the area with the cursor - -h Print this message and exit + -d [File] Write to File + -s Select the area with the cursor + -h Print this message and exit NOTE: save directory is ~/pics/screenshots EOF diff --git a/scripts/slight b/scripts/slight index 0f8cba0..1562eb9 100755 --- a/scripts/slight +++ b/scripts/slight @@ -5,17 +5,18 @@ help() { cat << EOF ${0}: Wrapper script to change backlight - options: - -i [Brg] Increase backlight by Brg - -d [Brg] Decrease backlight by Brg - -s [Brg] Set backlight to Brg - -p Show the current backlight - -h Print this message and exit + -i [Brg] Increase backlight by Brg + -d [Brg] Decrease backlight by Brg + -s [Brg] Set backlight to Brg + -p Show the current backlight + -h Print this message and exit NOTE: Script interprets values as percentages EOF +help + exit 0 } diff --git a/scripts/svol b/scripts/svol index f0765bb..ec60450 100755 --- a/scripts/svol +++ b/scripts/svol @@ -5,14 +5,13 @@ help() { cat << EOF ${0}: Wrapper script to change volume - options: - -i [Vol] Increase volume by Vol - -d [Vol] Decrease volume by Vol - -s [Vol] Set volume to Vol - -p Show the current volume - -t Toggle between mute and unmute - -h Print this message and exit + -i [Vol] Increase volume by Vol + -d [Vol] Decrease volume by Vol + -s [Vol] Set volume to Vol + -p Show the current volume + -t Toggle between mute and unmute + -h Print this message and exit EOF exit 0 diff --git a/scripts/swall b/scripts/swall index 34c4bc8..2588b4b 100755 --- a/scripts/swall +++ b/scripts/swall @@ -5,11 +5,10 @@ help() { cat << EOF ${0}: Wrapper script to set wallpapers - options: - -d [File] Select a wallpaper or a directory - -c Remove the current wallpaper - -h Print this message and exit + -d [File] Select a wallpaper or a directory + -c Remove the current wallpaper + -h Print this message and exit NOTE: default directory is ~/.config/wallpapers EOF |