mirror of
https://github.com/github/spec-kit.git
synced 2026-01-30 04:32:02 +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=""
|
||||
ARGS=()
|
||||
i=0
|
||||
while [ $i -lt $# ]; do
|
||||
while [ $i -le $# ]; do
|
||||
arg="${!i}"
|
||||
case "$arg" in
|
||||
--json)
|
||||
|
||||
Reference in New Issue
Block a user