Correct the comment of the curl command
This commit is contained in:
parent
87d43d0cc2
commit
9d9a5d2b14
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ display_location()
|
||||||
fetch_weather_information()
|
fetch_weather_information()
|
||||||
{
|
{
|
||||||
display_weather=$1
|
display_weather=$1
|
||||||
# it gets the weather condition textual name (%C), the temperature (%t), and the location (%l)
|
# it gets the weather condition textual name (%C), and the temperature (%t)
|
||||||
curl -sL wttr.in\?format="+%C+%t$display_weather"
|
curl -sL wttr.in\?format="+%C+%t$display_weather"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue