fixed options
This commit is contained in:
parent
b3a1df8efe
commit
49e8df2239
@ -30,7 +30,7 @@ get_weather() {
|
|||||||
echo "$res"
|
echo "$res"
|
||||||
}
|
}
|
||||||
|
|
||||||
while getopts "c:s:z:" arg; do
|
while getopts "c:s:z:" opt; do
|
||||||
case "$opt" in
|
case "$opt" in
|
||||||
'c' )
|
'c' )
|
||||||
COORDS="$OPTARG"
|
COORDS="$OPTARG"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user