Skip to content

Commit 5c3e249

Browse files
committed
Localised a variable
1 parent c07467d commit 5c3e249

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

argument-parser.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ argList() {
7777
echo "ARGUMENT SUMMARY:"
7878
for arguments in "${!argExpected[@]}"; do
7979

80+
local argumentsPrefixed=()
81+
8082
# Take all the arguments and prefix them with hyphens
8183
while IFS='|' read -ra argumentArray; do
8284
for argument in "${argumentArray[@]}"; do

0 commit comments

Comments
 (0)