mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07:00
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
This commit is contained in:
@@ -434,18 +434,23 @@ static const std::vector<OptionDefinition> OPTION_DEFINITIONS = {
|
|||||||
.category = "Advanced Network",
|
.category = "Advanced Network",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.title = "Preferred NetAdapter IP",
|
.title = "Preferred Network Adapter's IP",
|
||||||
.name = "network",
|
.name = "network",
|
||||||
.desc = "This is NOT the EA service URL; use -url for that. "
|
.display_name = "netadapterip",
|
||||||
"Force the use of an adapter with the specified network. Must also provide -subnet.",
|
.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,
|
.type = OptionType::Text,
|
||||||
.category = "Advanced Network",
|
.category = "Advanced Network",
|
||||||
.sensitive = true,
|
.sensitive = true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.title = "Preferred NetAdapter Subnet",
|
.title = "Preferred Network Adapter's Subnet",
|
||||||
.name = "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,
|
.type = OptionType::Text,
|
||||||
.category = "Advanced Network",
|
.category = "Advanced Network",
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user