From 261c22f2713cb236f6e97e80df559c16adfdddde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Benkovsk=C3=BD?= Date: Sun, 7 May 2023 20:59:29 +0200 Subject: [PATCH] enhance docs --- cmd/dnspyre/root.go | 2 +- docs/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/dnspyre/root.go b/cmd/dnspyre/root.go index 371262b..a832a40 100644 --- a/cmd/dnspyre/root.go +++ b/cmd/dnspyre/root.go @@ -67,7 +67,7 @@ var ( pDoHmethod = pApp.Flag("doh-method", "HTTP method to use for DoH requests. Supported values: get, post.").Default("post").Enum("get", "post") pDoHProtocol = pApp.Flag("doh-protocol", "HTTP protocol to use for DoH requests. Supported values: 1.1, 2 and 3.").Default("1.1").Enum("1.1", "2", "3") - pInsecure = pApp.Flag("insecure", "Disables server TLS certificate validation. Applicable both for DoT and DoH.").Default("false").Bool() + pInsecure = pApp.Flag("insecure", "Disables server TLS certificate validation. Applicable for DoT, DoH and DoQ.").Default("false").Bool() pDuration = pApp.Flag("duration", "Specifies for how long the benchmark should be executing, the benchmark will run for the specified time "+ "while sending DNS requests in an infinite loop based on the data source. After running for the specified duration, the benchmark is canceled. "+ diff --git a/docs/index.md b/docs/index.md index efa6f3f..10aad94 100644 --- a/docs/index.md +++ b/docs/index.md @@ -59,7 +59,7 @@ Flags: --plotf=png Format of graphs. Supported formats: png, jpg. --doh-method=post HTTP method to use for DoH requests. Supported values: get, post. --doh-protocol=1.1 HTTP protocol to use for DoH requests. Supported values: 1.1, 2 and 3. - --insecure Disables server TLS certificate validation. Applicable both for DoT and DoH. + --insecure Disables server TLS certificate validation. Applicable for DoT, DoH and DoQ. -d, --duration=1m Specifies for how long the benchmark should be executing, the benchmark will run for the specified time while sending DNS requests in an infinite loop based on the data source. After running for the specified duration, the benchmark is canceled. This option is exclusive with --number option. The duration is specified in GO duration format e.g. 10s, 15m, 1h. --version Show application version.