Remove network proxy-related command line option descriptions

The command line options themselves were removed in commit
168313bed9, wherein someone clearly didn't
do the full research.

Specifically, the SDL_net-based implementation of the network API never
supported or used these options. Only libana did.
This commit is contained in:
Iris Morelle 2020-10-21 01:33:38 -03:00
parent 3c39c6b268
commit 5b64bd1f02
2 changed files with 1 additions and 33 deletions

View file

@ -274,29 +274,6 @@ This switch should be typed before the
.B --preprocess
command.
.TP
.B --proxy
enables usage of proxy for network connections.
.TP
.BI --proxy-address \ address
specifies
.I address
of the proxy.
.TP
.BI --proxy-port \ port
specifies
.I port
of the proxy.
.TP
.BI --proxy-user \ username
specifies
.I username
to log in to the proxy.
.TP
.BI --proxy-password \ password
specifies
.I password
to log in to the proxy.
.TP
.BI -r\ X x Y ,\ --resolution\ X x Y
sets the screen resolution. Example:
.B -r

View file

@ -274,19 +274,10 @@ commandline_options::commandline_options (const std::vector<std::string>& args)
("preprocess-output-macros", po::value<std::string>()->implicit_value(std::string()), "used only by the '--preprocess' command. Will output all preprocessed macros in the target file <arg>. If the file is not specified the output will be file '_MACROS_.cfg' in the target directory of preprocess's command.")
;
po::options_description proxy_opts("Proxy options");
proxy_opts.add_options()
("proxy", "enables usage of proxy for network connections.")
("proxy-address", po::value<std::string>(), "specifies address of the proxy.")
("proxy-port", po::value<std::string>(), "specifies port of the proxy.")
("proxy-user", po::value<std::string>(), "specifies username to log in to the proxy.")
("proxy-password", po::value<std::string>(), "specifies password to log in to the proxy.")
;
//hidden_.add_options()
// ("example-hidden-option", "")
// ;
visible_.add(general_opts).add(campaign_opts).add(display_opts).add(logging_opts).add(multiplayer_opts).add(testing_opts).add(preprocessor_opts).add(proxy_opts);
visible_.add(general_opts).add(campaign_opts).add(display_opts).add(logging_opts).add(multiplayer_opts).add(testing_opts).add(preprocessor_opts);
all_.add(visible_).add(hidden_);