From e21eb76854b3dbdd787f043f6071c3aaeffa57e0 Mon Sep 17 00:00:00 2001 From: Igor Chubin Date: Mon, 6 Mar 2017 08:15:03 +0100 Subject: [PATCH] updated share/help.txt --- share/help.txt | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/share/help.txt b/share/help.txt index 41bc630..f8dbf9a 100644 --- a/share/help.txt +++ b/share/help.txt @@ -3,13 +3,36 @@ Usage: $ curl wttr.in # current location $ curl wttr.in/muc # weather in the Munic airport -Supported locations: +Supported location types: /paris # city name /muc # airport code (3 letters) /@stackoverflow.com # domain name + /94107 # area codes + +Special locations: + + /moon # Moon phase (add ,+US or ,+France for these cities) + /moon@2016-10-25 # Moon phase for the date (@2016-10-25) + +Units: + + ?m # metric (SI) (used by default everywhere except US) + ?u # USCS (used by default in US) + +Localization: + + $ curl wttr.in/paris?lang=fr + $ curl -H "Accept-Language: fr" wttr.in/paris + +Supported languages: + + SUPPORTED_LANGUAGES (supported) + hi ko zh (in progress) Special URLs: /:help # show this page + /:bash.function # show recommended bash function wttr() + /:translation # show the information about the translators