From 774dadd369230d17d9b397f52acfb709ab044598 Mon Sep 17 00:00:00 2001 From: ntsanov Date: Thu, 13 May 2021 12:32:44 +0300 Subject: [PATCH] legacyDNSFlag(--dns) is now hidden --- cmd/harmony/flags.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/harmony/flags.go b/cmd/harmony/flags.go index 41fd1cc6e..9e9ff27f9 100644 --- a/cmd/harmony/flags.go +++ b/cmd/harmony/flags.go @@ -368,11 +368,12 @@ var ( legacyDNSPortFlag = cli.IntFlag{ Name: "dns_port", Usage: "port of dns node", - Deprecated: "use --dns.zone", + Deprecated: "use --dns.port", } legacyDNSFlag = cli.BoolFlag{ Name: "dns", DefValue: true, + Hidden: true, Usage: "use dns for syncing", Deprecated: "only set to false to use self discovered peers for syncing", }