From 542ac5ee0b6582f7d89aad286c5d73ffe5e46a9e Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Fri, 29 Jul 2022 00:47:38 -0600 Subject: [PATCH] remove unused help --- heavy_script.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/heavy_script.sh b/heavy_script.sh index f0e3015c..adb5022c 100644 --- a/heavy_script.sh +++ b/heavy_script.sh @@ -52,14 +52,14 @@ do deleteBackup="true" ;; *) - echo -e "Invalid Option \"--$OPTARG\"\n" && help - exit + echo -e "Invalid Option \"--$OPTARG\"\n" + help ;; esac ;; :) - echo -e "Option: \"-$OPTARG\" requires an argument\n" && help - exit + echo -e "Option: \"-$OPTARG\" requires an argument\n" + help ;; b) number_of_backups=$OPTARG @@ -119,12 +119,12 @@ do verbose="true" ;; \?) - echo -e "Invalid Option \"-$OPTARG\"\n" && help - exit + echo -e "Invalid Option \"-$OPTARG\"\n" + help ;; *) - echo -e "Invalid Option \"-$OPTARG\"\n" && help - exit + echo -e "Invalid Option \"-$OPTARG\"\n" + help ;; esac done