From 2c71568448c9c064663be715875a32e2c0d4610d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Mon, 7 Aug 2023 10:32:16 +0800 Subject: [PATCH] Weather: document `--weather-location` --- src/data/config_user.txt | 2 +- src/data/help.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/data/config_user.txt b/src/data/config_user.txt index 594b3e99d..de8973418 100644 --- a/src/data/config_user.txt +++ b/src/data/config_user.txt @@ -222,7 +222,7 @@ #--publicip-timeout 0 # Weather location option: -# Sets location to be used. It must be URI encoded. +# Sets the location to be used. It must be URI encoded (eg a whitespace must be encoded as `+`). # Default is empty (guessing by public IP) #--weather-location "Location" diff --git a/src/data/help.txt b/src/data/help.txt index f56ea5d5c..2d6ef4dd4 100644 --- a/src/data/help.txt +++ b/src/data/help.txt @@ -141,6 +141,7 @@ Module specific options: --localip-compact : Show all IPs in one line. Default is false --publicip-timeout: Time in milliseconds to wait for the public ip server to respond. Default is disabled (0) --publicip-url: The URL of public IP detection server to be used. + --weather-location: Set the location to be used. It must be URI encoded (eg a whitespace must be encoded as `+`). --weather-timeout: Time in milliseconds to wait for the weather server to respond. Default is disabled (0) --weather-output-format: The output weather format to be used. It must be URI encoded. --player-name: The name of the player to use