From 67da892fe9d3a82c41a1c4345b7249346dd19950 Mon Sep 17 00:00:00 2001 From: bicarus <202771338+bicarus-dev@users.noreply.github.com> Date: Wed, 1 Jul 2026 02:41:14 -0700 Subject: [PATCH] cfg: aliases for -network and -subnet (#785) ## Link to GitHub Issue or related Pull Request, if one exists n/a ## Description of change `-network` and `-subnet` are poorly named. Add new names for them that are more explicit. Old command line parameters will continue to work, this is an additive change. ## Testing --- src/spice2x/launcher/options.cpp | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/spice2x/launcher/options.cpp b/src/spice2x/launcher/options.cpp index 1e3bbef..1a0d3aa 100644 --- a/src/spice2x/launcher/options.cpp +++ b/src/spice2x/launcher/options.cpp @@ -434,18 +434,23 @@ static const std::vector OPTION_DEFINITIONS = { .category = "Advanced Network", }, { - .title = "Preferred NetAdapter IP", + .title = "Preferred Network Adapter's IP", .name = "network", - .desc = "This is NOT the EA service URL; use -url for that. " - "Force the use of an adapter with the specified network. Must also provide -subnet.", + .display_name = "netadapterip", + .aliases = "netadapterip", + .desc = "Instead of using the default network adapter, force the usage of another network adapter " + "with the specified IP address. You must also set -netadaptersubnet.", .type = OptionType::Text, .category = "Advanced Network", .sensitive = true, }, { - .title = "Preferred NetAdapter Subnet", + .title = "Preferred Network Adapter's Subnet", .name = "subnet", - .desc = "Force the use of an adapter with the specified subnet. Must also provide -network.", + .display_name = "netadaptersubnet", + .aliases = "netadaptersubnet", + .desc = "Instead of using the default network adapter, force the usage of another network adapter " + "with the specified subnet. You must also set -netadapterip.", .type = OptionType::Text, .category = "Advanced Network", },