Skip to content

Commit bd18fe8

Browse files
committed
Added a debug output for displaying the number of arguments
1 parent 5ad871c commit bd18fe8

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
@@ -127,3 +127,5 @@ argValue() {
127127

128128
# Add the standard argc variable containing the number of arguments
129129
argc=${#argv[@]}
130+
131+
[ $ARG_DEBUG == true ] && echo "Argument Count: $argc"

0 commit comments

Comments
 (0)