From ec647ccc6bae93c45b51f5d7ce6fe39855ec4290 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Wed, 28 Oct 2015 12:13:01 +0100 Subject: [PATCH] docs: add ednssubnet option to sdig.1 --- docs/manpages/sdig.1.md | 4 ++++ pdns/sdig.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/manpages/sdig.1.md b/docs/manpages/sdig.1.md index 1b04ad0f6..4e4d0166f 100644 --- a/docs/manpages/sdig.1.md +++ b/docs/manpages/sdig.1.md @@ -28,3 +28,7 @@ showflags tcp : Use TCP instead of UDP to send the query. + +ednssubnet *SUBNET* +: Send *SUBNET* in the edns-client-subnet option. If this option is not set, + no edns-client-subnet option is set in the query. diff --git a/pdns/sdig.cc b/pdns/sdig.cc index c597385fb..95e9bde2a 100644 --- a/pdns/sdig.cc +++ b/pdns/sdig.cc @@ -24,7 +24,7 @@ try reportAllTypes(); if(argc < 5) { - cerr<<"Syntax: sdig IP-address port question question-type [dnssec] [recurse] [showflags] [hidesoadetails] [tcp] [ednssubnet subnet]\n"; + cerr<<"Syntax: sdig IP-address port question question-type [dnssec] [recurse] [showflags] [hidesoadetails] [tcp] [ednssubnet SUBNET]\n"; exit(EXIT_FAILURE); } -- 2.40.0