From: Pieter Lexis Date: Fri, 29 Apr 2016 14:31:49 +0000 (+0200) Subject: Add --help and --version to calidns X-Git-Tag: rec-4.0.0-alpha3~19^2~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32823984c56970421767b3ab63e1f1e5fc18f590;p=thirdparty%2Fpdns.git Add --help and --version to calidns --- 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