mirror of
https://github.com/github/spec-kit.git
synced 2026-02-01 13:33:37 +00:00
Change loop condition to include last argument
The last argument is not processed. e.g. create-new-feature.sh -h doesn't show the help information.
This commit is contained in:
@@ -6,7 +6,7 @@ JSON_MODE=false
|
|||||||
SHORT_NAME=""
|
SHORT_NAME=""
|
||||||
ARGS=()
|
ARGS=()
|
||||||
i=0
|
i=0
|
||||||
while [ $i -lt $# ]; do
|
while [ $i -le $# ]; do
|
||||||
arg="${!i}"
|
arg="${!i}"
|
||||||
case "$arg" in
|
case "$arg" in
|
||||||
--json)
|
--json)
|
||||||
|
|||||||
Reference in New Issue
Block a user