diff options
author | EuAndreh <eu@euandre.org> | 2023-04-12 07:21:54 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-04-12 07:21:54 -0300 |
commit | deab03146e11f00d0daae78e11591c9476293d3e (patch) | |
tree | 71676aca45ae6b798faa1efca73fc8091b2d6518 /bin | |
parent | bin/htmlesc: Use "'" over "'" (diff) | |
download | dotfiles-deab03146e11f00d0daae78e11591c9476293d3e.tar.gz dotfiles-deab03146e11f00d0daae78e11591c9476293d3e.tar.xz |
bin/: Add trailing semicolor to Perl heredocs
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/nato | 4 | ||||
-rwxr-xr-x | bin/status-bar | 5 | ||||
-rwxr-xr-x | bin/uri | 5 | ||||
-rwxr-xr-x | bin/x | 4 | ||||
-rwxr-xr-x | bin/z | 4 |
5 files changed, 12 insertions, 10 deletions
@@ -7,7 +7,7 @@ no warnings ('experimental::signatures'); use Getopt::Std (); sub usage($fh) { - print $fh <<~'EOF' + print $fh <<~'EOF'; Usage: nato nato -h @@ -15,7 +15,7 @@ sub usage($fh) { } sub help($fh) { - print $fh <<~'EOF' + print $fh <<~'EOF'; Options: -h, --help show this message diff --git a/bin/status-bar b/bin/status-bar index 73632f6..49c289f 100755 --- a/bin/status-bar +++ b/bin/status-bar @@ -14,7 +14,7 @@ use JSON (); use open IN => ':encoding(UTF-8)'; sub usage($fh) { - print $fh <<~'EOF' + print $fh <<~'EOF'; Usage: status-bar status-bar -h @@ -22,7 +22,8 @@ sub usage($fh) { } sub help($fh) { - print $fh <<~'EOF' + print $fh <<~'EOF'; + Options: -h, --help show this message @@ -8,7 +8,7 @@ use Getopt::Std (); use URI::Escape (); sub usage($fh) { - print $fh <<~'EOF' + print $fh <<~'EOF'; Usage: uri [-e|-d] [CONTENT...] uri -h @@ -16,7 +16,8 @@ sub usage($fh) { } sub help($fh) { - print $fh <<~'EOF' + print $fh <<~'EOF'; + Options: -e encode the string (the default action) @@ -7,7 +7,7 @@ no warnings ('experimental::signatures', 'experimental::smartmatch'); use Getopt::Std (); sub usage($fh) { - print $fh <<~'EOF' + print $fh <<~'EOF'; Usage: x COMMANDS... [ '&&' / '||' / '|' ] COMMANDS... x COMMANDS... [ 'AND' / 'OR' / 'PIPE' ] COMMANDS... @@ -16,7 +16,7 @@ sub usage($fh) { } sub help($fh) { - print $fh <<~'EOF' + print $fh <<~'EOF'; Options: @@ -11,7 +11,7 @@ use List::Util qw(any); sub usage($fh) { - print $fh <<~'EOF' + print $fh <<~'EOF'; Usage: z COMMANDS... z -h @@ -19,7 +19,7 @@ sub usage($fh) { } sub help($fh) { - print $fh <<~'EOF' + print $fh <<~'EOF'; Options: |