Merge pull request #918 from wfongcn/patch-1

Change loop condition to include last argument
This commit is contained in:
Den Delimarsky
2025-10-18 20:03:39 -07:00
committed by GitHub

View File

@@ -6,7 +6,7 @@ JSON_MODE=false
SHORT_NAME=""
ARGS=()
i=0
while [ $i -lt $# ]; do
while [ $i -le $# ]; do
arg="${!i}"
case "$arg" in
--json)