]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
sdig: Clarify that the `ednssubnet` option takes "subnet/mask" 5277/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 27 Apr 2017 11:06:06 +0000 (13:06 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 27 Apr 2017 11:06:06 +0000 (13:06 +0200)
The `mask` part is actually optional but it's probably better to
provide it explicitely anyway.

pdns/sdig.cc

index c769da1d30e58481d7493887524c0ae59dcc4a01..bcd2bbeb0cd582a8b1fa2943beaaddf2951cc85e 100644 (file)
@@ -23,7 +23,7 @@ string ttl(uint32_t ttl)
 
 void usage() {
   cerr<<"sdig"<<endl;
-  cerr<<"Syntax: sdig IP-ADDRESS PORT QUESTION QUESTION-TYPE [dnssec] [recurse] [showflags] [hidesoadetails] [hidettl] [tcp] [ednssubnet SUBNET]"<<endl;
+  cerr<<"Syntax: sdig IP-ADDRESS PORT QUESTION QUESTION-TYPE [dnssec] [recurse] [showflags] [hidesoadetails] [hidettl] [tcp] [ednssubnet SUBNET/MASK]"<<endl;
 }
 
 int main(int argc, char** argv)