legacyDNSFlag(--dns) is now hidden

pull/3681/head
ntsanov 4 years ago
parent a1550504c8
commit 774dadd369
  1. 3
      cmd/harmony/flags.go

@ -368,11 +368,12 @@ var (
legacyDNSPortFlag = cli.IntFlag{ legacyDNSPortFlag = cli.IntFlag{
Name: "dns_port", Name: "dns_port",
Usage: "port of dns node", Usage: "port of dns node",
Deprecated: "use --dns.zone", Deprecated: "use --dns.port",
} }
legacyDNSFlag = cli.BoolFlag{ legacyDNSFlag = cli.BoolFlag{
Name: "dns", Name: "dns",
DefValue: true, DefValue: true,
Hidden: true,
Usage: "use dns for syncing", Usage: "use dns for syncing",
Deprecated: "only set to false to use self discovered peers for syncing", Deprecated: "only set to false to use self discovered peers for syncing",
} }

Loading…
Cancel
Save