From 97e6cd6355aa989d9511507332d66bd301dbd40e Mon Sep 17 00:00:00 2001 From: xvzc Date: Sun, 21 Jul 2024 17:17:45 +0900 Subject: [PATCH] update help output --- util/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/config.go b/util/config.go index 05fb9d5..57e82ca 100644 --- a/util/config.go +++ b/util/config.go @@ -59,8 +59,8 @@ func ParseArgs() { config.DnsAddr = flag.String("dns-addr", "8.8.8.8", "DNS addr") config.DnsPort = flag.Int("dns-port", 53, "DNS port") config.EnableDoh = flag.Bool("enable-doh", false, "Enable DOH") - config.Debug = flag.Bool("debug", false, "true | false") - config.NoBanner = flag.Bool("no-banner", false, "true | false") + config.Debug = flag.Bool("debug", false, "Enable debug output") + config.NoBanner = flag.Bool("no-banner", false, "Disable banner") config.Timeout = flag.Int("timeout", 2000, "timeout in milliseconds") flag.Var(&allowedHosts, "url", "Bypass DPI only on this url, can be passed multiple times")