aboutsummaryrefslogtreecommitdiff
path: root/cmd/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/Main.hs')
-rw-r--r--cmd/Main.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/Main.hs b/cmd/Main.hs
index 6349dde..9fb5eb6 100644
--- a/cmd/Main.hs
+++ b/cmd/Main.hs
@@ -46,7 +46,9 @@ parseLocation = byName <|> byCoord
where
byName =
Client.Name <$>
- strOption (long "city" <> short 'c' <> metavar "CITY" <> help "City name")
+ strOption
+ (long "query" <> short 'q' <> metavar "STRING" <>
+ help "City name, e. g. Santiago or Santiago,CU")
byCoord =
Client.Coord <$>
option