Doc: document Network module

This commit is contained in:
李通洲
2023-04-18 20:59:26 +08:00
parent 26feccc0e4
commit 4fd82b16e8
5 changed files with 30 additions and 2 deletions
+12
View File
@@ -176,6 +176,18 @@
# Default is 0 (disabled).
#--public-ip-timeout 0
# Network show all interfaces option
# Sets if all interfaces (including down) should be printed
# Must be either true or false
# Default is false.
#--network-all false
# Network show interface type option
# Sets which type of interfaces should be printed
# Must be a string
# Default is empty.
#--network-type
# Weather output format option:
# Sets the weather format to be used. It must be URI encoded.
# See: https://github.com/chubin/wttr.in#one-line-output
+2
View File
@@ -132,6 +132,8 @@ Module specific options:
--localip-v6first <?value>: Set if ipv6 should be printed first. Default is false
--public-ip-timeout: Time in milliseconds to wait for the public ip server to respond. Default is disabled (0)
--public-ip-url: The URL of public IP detection server to be used.
--network-all: Set if all interfaces (including down) should be printed. Default is false
--network-type: Set which type of interfaces should be printed. Default is empty
--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