Update scripts/bash/create-new-feature.sh

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Den Delimarsky
2025-10-14 23:39:50 -07:00
committed by GitHub
parent 4522fb4c44
commit a945077b8d

View File

@@ -13,6 +13,10 @@ while [ $i -lt $# ]; do
JSON_MODE=true JSON_MODE=true
;; ;;
--short-name) --short-name)
if [ $((i + 1)) -ge $# ]; then
echo 'Error: --short-name requires a value' >&2
exit 1
fi
i=$((i + 1)) i=$((i + 1))
SHORT_NAME="${!i}" SHORT_NAME="${!i}"
;; ;;