Improve config help text

This commit is contained in:
Daniel 2020-04-28 09:56:52 +02:00
parent 97a8475364
commit 0e30d70d55

View file

@ -131,7 +131,7 @@ func registerConfiguration() error {
"+": permit "+": permit
"-": block "-": block
Host Matching: Host Matching:
IP, CIDR, Country Code, ASN, "*" for any IP, CIDR, Country Code, ASN, Filterlist, "*" for any
Domains: Domains:
"example.com": exact match "example.com": exact match
".example.com": exact match + subdomains ".example.com": exact match + subdomains
@ -144,7 +144,11 @@ func registerConfiguration() error {
Examples: Examples:
+ .example.com */HTTP + .example.com */HTTP
- .example.com - .example.com
+ 192.168.0.1/24`, + 192.168.0.1/24
- L:MAL
- AS0
+ AT
- *`,
Order: cfgOptionEndpointsOrder, Order: cfgOptionEndpointsOrder,
OptType: config.OptTypeStringArray, OptType: config.OptTypeStringArray,
DefaultValue: []string{}, DefaultValue: []string{},
@ -167,7 +171,7 @@ Examples:
"+": permit "+": permit
"-": block "-": block
Host Matching: Host Matching:
IP, CIDR, Country Code, ASN, "*" for any IP, CIDR, Country Code, ASN, Filterlist, "*" for any
Domains: Domains:
"example.com": exact match "example.com": exact match
".example.com": exact match + subdomains ".example.com": exact match + subdomains
@ -180,7 +184,11 @@ Examples:
Examples: Examples:
+ .example.com */HTTP + .example.com */HTTP
- .example.com - .example.com
+ 192.168.0.1/24`, + 192.168.0.1/24
- L:MAL
- AS0
+ AT
- *`,
Order: cfgOptionServiceEndpointsOrder, Order: cfgOptionServiceEndpointsOrder,
OptType: config.OptTypeStringArray, OptType: config.OptTypeStringArray,
DefaultValue: []string{}, DefaultValue: []string{},