aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-08 10:40:08 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-08 10:40:08 +1200
commitf0ab6cefb5163769e8dd2d098fecc6bfb87fe504 (patch)
tree8e434c33564f20ce429a3fac2295973a0f4f9f85 /bin
parentIgnore SC2064 from shellcheck (diff)
downloaddotfiles-f0ab6cefb5163769e8dd2d098fecc6bfb87fe504.tar.gz
dotfiles-f0ab6cefb5163769e8dd2d098fecc6bfb87fe504.zip
Remove 'h' from getopts where not used
Diffstat (limited to 'bin')
-rwxr-xr-xbin/tl2
-rwxr-xr-xbin/tlcs2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/tl b/bin/tl
index f3f44abb..5d494f5a 100755
--- a/bin/tl
+++ b/bin/tl
@@ -2,7 +2,7 @@
# Tag lines from files or stdin with a string prefix or suffix.
# Parse options out, give help if necessary
-while getopts 'hp:s:' opt ; do
+while getopts 'p:s:' opt ; do
case $opt in
p)
pref=$OPTARG
diff --git a/bin/tlcs b/bin/tlcs
index d34e65bf..80fca373 100755
--- a/bin/tlcs
+++ b/bin/tlcs
@@ -9,7 +9,7 @@ out_suff=
err_suff=
# Parse options out, give help if necessary
-while getopts 'hco:e:' opt ; do
+while getopts 'co:e:' opt ; do
case $opt in
c)
color=1