mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-05-02 06:00:25 +03:00
all: sync with master
This commit is contained in:
parent
fbc0d981ba
commit
6f7bfd6c9c
93 changed files with 2828 additions and 1270 deletions
internal/home
|
@ -270,15 +270,17 @@ var cmdLineOpts = []cmdLineOpt{{
|
|||
log.Info(
|
||||
"warning: --no-etc-hosts flag is deprecated " +
|
||||
"and will be removed in the future versions; " +
|
||||
"set clients.runtime_sources.hosts in the configuration file to false instead",
|
||||
"set clients.runtime_sources.hosts and dns.hostsfile_enabled " +
|
||||
"in the configuration file to false instead",
|
||||
)
|
||||
|
||||
return nil, nil
|
||||
},
|
||||
serialize: func(o options) (val string, ok bool) { return "", o.noEtcHosts },
|
||||
description: "Deprecated: use clients.runtime_sources.hosts instead. Do not use the OS-provided hosts.",
|
||||
longName: "no-etc-hosts",
|
||||
shortName: "",
|
||||
serialize: func(o options) (val string, ok bool) { return "", o.noEtcHosts },
|
||||
description: "Deprecated: use clients.runtime_sources.hosts and dns.hostsfile_enabled " +
|
||||
"instead. Do not use the OS-provided hosts.",
|
||||
longName: "no-etc-hosts",
|
||||
shortName: "",
|
||||
}, {
|
||||
updateWithValue: nil,
|
||||
updateNoValue: func(o options) (options, error) { o.localFrontend = true; return o, nil },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue