Skip to content

Commit 2517841

Browse files
committed
Added some comments and spacing between helper functions and the main logic
1 parent fe10e65 commit 2517841

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

argument-parser.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,11 @@ argParseDefaults() {
156156
done
157157
}
158158

159+
160+
#
161+
## Start parsing arguments
162+
#
163+
159164
# Populate the argv array with the defaults
160165
argParseDefaults
161166

@@ -278,6 +283,8 @@ argc=${#argv[@]}
278283

279284
[ "$ARG_DEBUG" == true ] && echo "Argument Count: $argc"
280285

286+
287+
281288
# If we are accessing this script directly run the argument parser, useful for testing
282289
if [ "$0" == "$BASH_SOURCE" ]; then
283290
argParse

0 commit comments

Comments
 (0)