fixed help message

master
Simon Kellet 3 years ago
parent c63d42c5e7
commit 14f7396e22
  1. 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…
Cancel
Save