aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-04-06 08:15:16 -0300
committerEuAndreh <eu@euandre.org>2023-04-06 08:15:16 -0300
commit6d78a0add752124e1441ea77118b703557b64e6c (patch)
tree4c773d7e81e84b19544b791958fc45c920edb8f0
parentbin/slugify: Allow string argument to be given instead of STDIN (diff)
downloaddotfiles-6d78a0add752124e1441ea77118b703557b64e6c.tar.gz
dotfiles-6d78a0add752124e1441ea77118b703557b64e6c.tar.xz
bin/shesc: Remove copied $ENCODE and $DECODE options
-rwxr-xr-xbin/shesc10
1 files changed, 1 insertions, 9 deletions
diff --git a/bin/shesc b/bin/shesc
index 40a72b7..0c5e25a 100755
--- a/bin/shesc
+++ b/bin/shesc
@@ -53,16 +53,8 @@ for flag in "$@"; do
esac
done
-ENCODE=false
-DECODE=false
-while getopts 'edh' flag; do
+while getopts 'h' flag; do
case "$flag" in
- e)
- ENCODE=true
- ;;
- d)
- DECODE=true
- ;;
h)
usage
help