From 32823984c56970421767b3ab63e1f1e5fc18f590 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Fri, 29 Apr 2016 16:31:49 +0200 Subject: [PATCH] Add --help and --version to calidns --- pdns/calidns.cc | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/pdns/calidns.cc b/pdns/calidns.cc index 2696e44a12..d5d9dac874 100644 --- a/pdns/calidns.cc +++ b/pdns/calidns.cc @@ -125,6 +125,9 @@ void sendPackets(const vector* sockets, const vector* > } } +void usage() { + cerr<<"Syntax: calidns QUERY_FILE DESTINATION INITIAL_QPS HITRATE"< 1 && argc <5)) { + for(int i = 1; i