mirror of https://github.com/getbible/getverse.git
Fix to pass version as second arg.
This commit is contained in:
parent
bf9df3ef6b
commit
12f2658f9f
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue