diff --git a/src/chapter.sh b/src/chapter.sh index 3f11d4c..277f495 100755 --- a/src/chapter.sh +++ b/src/chapter.sh @@ -13,7 +13,7 @@ command -v curl >/dev/null 2>&1 || { # set the query (default: 1 John 3:16-18) SCRIPTURE="${1:-62 3:16-18}" # set the translation (default: kjv) -: "${VERSION:=kjv}" +VERSION="${2:-kjv}" # check if we have options while :; do diff --git a/src/name.sh b/src/name.sh index 2dccde9..5bbe920 100755 --- a/src/name.sh +++ b/src/name.sh @@ -12,7 +12,7 @@ command -v curl >/dev/null 2>&1 || { # set the query (default: 1 John 3:16-18) SCRIPTURE="${1:-62 3:16-18}" # set the translation (default: kjv) -: "${VERSION:=kjv}" +VERSION="${2:-kjv}" # check if we have options while :; do