Skip to content

Commit

Permalink
bind: update deny-domain-exclude usage description
Browse files Browse the repository at this point in the history
The flag can no longer be specified without deny-domain being set.
  • Loading branch information
Choraden committed Sep 5, 2023
1 parent b7baeb4 commit 39fed2d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bind/flag.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,7 @@ func HTTPProxyConfig(fs *pflag.FlagSet, cfg *forwarder.HTTPProxyConfig, lcfg *lo
"Exclude requests to the specified domains from being denied. "+
"Use this flag multiple times to specify multiple deny domain excludes. "+
"This flag takes precedence over deny-domain. "+
"When --deny-domain-exclude is specified and --deny-domain is not, "+
"all requests to domains that do not match any of the deny-domain-exclude patterns will be denied. ")
"Can be specified only if --deny-domain is also specified. ")
}

func MITMConfig(fs *pflag.FlagSet, mitm *bool, cfg *forwarder.MITMConfig) {
Expand Down

0 comments on commit 39fed2d

Please sign in to comment.