1
0
mirror of https://github.com/craigerl/aprsd.git synced 2025-07-31 12:52:24 -04:00

Changed the path option to a ListOpt

Both serial_kiss and tcp_kiss path option is converted to a ListOpt
to help generate a single line during sample-config generation.
This commit is contained in:
Hemna 2023-10-06 15:44:25 -04:00
parent 156d9d9592
commit 0155923341

View File

@ -72,7 +72,7 @@ kiss_serial_opts = [
default=9600, default=9600,
help="The Serial device baud rate for communication", help="The Serial device baud rate for communication",
), ),
cfg.MultiStrOpt( cfg.ListOpt(
"path", "path",
default=["WIDE1-1", "WIDE2-1"], default=["WIDE1-1", "WIDE2-1"],
help="The APRS path to use for wide area coverage.", help="The APRS path to use for wide area coverage.",
@ -94,7 +94,7 @@ kiss_tcp_opts = [
default=8001, default=8001,
help="The KISS TCP/IP network port", help="The KISS TCP/IP network port",
), ),
cfg.MultiStrOpt( cfg.ListOpt(
"path", "path",
default=["WIDE1-1", "WIDE2-1"], default=["WIDE1-1", "WIDE2-1"],
help="The APRS path to use for wide area coverage.", help="The APRS path to use for wide area coverage.",