Weather: document --weather-location

This commit is contained in:
李通洲 2023-08-07 10:32:16 +08:00
parent 74233ac0cb
commit 2c71568448
No known key found for this signature in database
GPG Key ID: 269AD4F5325A22A3
2 changed files with 2 additions and 1 deletions

View File

@ -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"

View File

@ -141,6 +141,7 @@ Module specific options:
--localip-compact <?value>: 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