From c18c244b52d5af271ce81983f53a3905ca2a9f35 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Fri, 29 Apr 2016 17:00:47 +0200 Subject: [PATCH] Add --help and --version to dnsscan --- pdns/dnsscan.cc | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/pdns/dnsscan.cc b/pdns/dnsscan.cc index f9a0afc33..084839d45 100644 --- a/pdns/dnsscan.cc +++ b/pdns/dnsscan.cc @@ -25,6 +25,10 @@ using namespace ::boost::multi_index; #include "namespaces.hh" StatBag S; +void usage() { + cerr<<"syntax: dnsscan INFILE ..."<