Refactor shell scripts: Remove unnecessary semicolons and add missing case terminators in the GetOptions function.

This commit is contained in:
Jeroen De Meerleer 2023-06-01 16:24:24 +02:00
parent d41ba60101
commit 050ba916ba
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6
8 changed files with 16 additions and 8 deletions

View File

@ -57,7 +57,8 @@ GetOptions() {
;;
-h|--help)
Usage
exit 0;
exit 0
;;
--)
shift
break

View File

@ -70,7 +70,8 @@ GetOptions() {
;;
-h|--help)
Usage
exit 0;
exit 0
;;
--)
shift
break

View File

@ -66,7 +66,8 @@ GetOptions() {
;;
-h|--help)
Usage
exit 0;
exit 0
;;
--)
shift
break

View File

@ -68,7 +68,8 @@ GetOptions() {
;;
-h|--help)
Usage
exit 0;
exit 0
;;
--)
shift
break

View File

@ -57,7 +57,8 @@ GetOptions() {
;;
-h|--help)
Usage
exit 0;
exit 0
;;
--)
shift
break

View File

@ -51,7 +51,8 @@ GetOptions() {
;;
-h|--help)
Usage
exit 0;
exit 0
;;
--)
shift
break

View File

@ -62,7 +62,8 @@ GetOptions() {
;;
-h|--help)
Usage
exit 0;
exit 0
;;
--)
shift
break

View File

@ -66,7 +66,8 @@ GetOptions() {
;;
-h|--help)
Usage
exit 0;
exit 0
;;
--)
shift
break