fixed help message
This commit is contained in:
parent
c63d42c5e7
commit
14f7396e22
2
main.go
2
main.go
@ -78,7 +78,7 @@ func main() {
|
||||
var city, code, api_key string
|
||||
flag.StringVar(&city, "city", "London", "Enter city e.g. London, Glasgow etc... (Default: London)")
|
||||
flag.StringVar(&code, "code", "uk", "Enter Code e.g. uk, us etc... (Default: uk)")
|
||||
flag.StringVar(&api_key, "api", "none", "Enter Code e.g. uk, us etc... Default(none)")
|
||||
flag.StringVar(&api_key, "api", "none", "Enter you api key here... (Default: none")
|
||||
flag.Parse()
|
||||
|
||||
full := "https://api.openweathermap.org/data/2.5/weather?q=" + city + "," + code + "&units=metric" + "&appid=" + api_key + ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user