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