update help

This commit is contained in:
Emil Lerch 2026-01-06 17:00:34 -08:00
parent 728076ce9f
commit 58f6e390bd
Signed by: lobo
GPG key ID: A7B62D657EF764F8

View file

@ -44,6 +44,37 @@ pub const help_page =
\\ Q # superquiet version (no "Weather report", no city name)
\\ T # switch terminal sequences off (no colors)
\\
\\Output formats:
\\
\\ format=1 # one-line: "London: ⛅️ +7°C"
\\ format=2 # one-line with wind: "London: ⛅️ +7°C 🌬↗11km/h"
\\ format=3 # one-line detailed: "London: ⛅️ +7°C 🌬↗11km/h 💧65%"
\\ format=4 # one-line full: "London: ⛅️ +7°C 🌬↗11km/h 💧65% ☀06:45-16:32"
\\ format=j1 # JSON output
\\ format=v2 # * data-rich experimental format
\\ format=p1 # * Prometheus metrics format
\\ format=%l:+%c+%t # custom format (see format codes below)
\\
\\Custom format codes:
\\
\\ %c # weather condition emoji
\\ %C # weather condition text
\\ %h # humidity
\\ %t # temperature (actual)
\\ %f # temperature (feels like)
\\ %w # wind
\\ %l # location
\\ %m # * moon phase emoji
\\ %M # * moon day
\\ %p # precipitation (mm)
\\ %o # probability of precipitation
\\ %P # pressure (hPa)
\\ %D # * dawn time
\\ %S # * sunrise time
\\ %z # * zenith time
\\ %s # * sunset time
\\ %d # * dusk time
\\
\\PNG options:
\\
\\ /paris.png # generate a PNG file