diff --git a/man/NetworkManager.8.in b/man/NetworkManager.8.in index 005e859de5..ceefad686f 100644 --- a/man/NetworkManager.8.in +++ b/man/NetworkManager.8.in @@ -10,7 +10,7 @@ NetworkManager \- network management daemon .SH SYNOPSIS .B NetworkManager [\-\-version] | [\-\-help] .PP -.B NetworkManager [\-\-no\-daemon] [\-\-pid\-file=] [\-\-state\-file=] [\-\-config=] [\-\-plugins=,plugin2>,...] [\-\-log\-level=] [\-\-log\-domains=,,...] [\-\-connectivity\-uri=] [\-\-connectivity\-interval=] [\-\-connectivity\-response=] +.B NetworkManager [\-\-no\-daemon] [\-\-pid\-file=] [\-\-state\-file=] [\-\-config=] [\-\-plugins=,plugin2>,...] [\-\-log\-level=] [\-\-log\-domains=,,...] .SH DESCRIPTION The \fINetworkManager\fP daemon attempts to make networking configuration and operation as painless and automatic as possible by managing the primary network @@ -118,23 +118,6 @@ log levels and domains. Sets which operations are logged to the log destination (usually syslog). By default, most domains are logging-enabled. See \fBNetworkManager.conf\fP(5) for more information on log levels and domains. -.TP -.I "\-\-connectivity\-uri= -Sets the URI of a web page that will be used for connectivity checking. By -default connectivity checking is disabled. See \fBNetworkManager.conf\fP(5) -[connectivity] section for more information on connectivity checking feature. -.TP -.I "\-\-connectivity\-interval= -Sets the interval (in seconds) in which connection checks for the URI are done. -0 means no checks. The default value is 300 seconds. See -\fBNetworkManager.conf\fP(5) [connectivity] section for more information on -connectivity checking feature. -.TP -.I "\-\-connectivity\-response= -If set, it controls what body content NetworkManager checks for when requesting -the URI for connectivity checking. If missing, defaults to "NetworkManager is online". -See \fBNetworkManager.conf\fP(5) [connectivity] section for more information on -connectivity checking feature. .SH DEBUGGING The following environment variables are supported to help debugging. When used diff --git a/src/config/nm-config.c b/src/config/nm-config.c index 7f1238c181..2bc4676f45 100644 --- a/src/config/nm-config.c +++ b/src/config/nm-config.c @@ -143,9 +143,11 @@ static GOptionEntry config_options[] = { { "log-domains", 0, 0, G_OPTION_ARG_STRING, &cli_log_domains, N_("Log domains separated by ',': any combination of [%s]"), "PLATFORM,RFKILL,WIFI" }, - { "connectivity-uri", 0, 0, G_OPTION_ARG_STRING, &cli_connectivity_uri, N_("An http(s) address for checking internet connectivity"), "http://example.com" }, - { "connectivity-interval", 0, 0, G_OPTION_ARG_INT, &cli_connectivity_interval, N_("The interval between connectivity checks (in seconds)"), "60" }, - { "connectivity-response", 0, 0, G_OPTION_ARG_STRING, &cli_connectivity_response, N_("The expected start of the response"), N_("Bingo!") }, + + /* These three are hidden for now, and should eventually just go away. */ + { "connectivity-uri", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &cli_connectivity_uri, N_("An http(s) address for checking internet connectivity"), "http://example.com" }, + { "connectivity-interval", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_INT, &cli_connectivity_interval, N_("The interval between connectivity checks (in seconds)"), "60" }, + { "connectivity-response", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &cli_connectivity_response, N_("The expected start of the response"), N_("Bingo!") }, {NULL} }; static gboolean config_options_inited;