From: Pieter Lexis Date: Fri, 29 Apr 2016 15:36:39 +0000 (+0200) Subject: Add --help and --version to dumresp X-Git-Tag: rec-4.0.0-alpha3~19^2~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e06df8906b70ec54e31e5cc91478cb82dcf8bebb;p=thirdparty%2Fpdns.git Add --help and --version to dumresp --- diff --git a/pdns/dumresp.cc b/pdns/dumresp.cc index b9d26f0d87..fc556ce809 100644 --- a/pdns/dumresp.cc +++ b/pdns/dumresp.cc @@ -21,15 +21,30 @@ void printStatus() } } +void usage() { + cerr<<"Syntax: dumresp LOCAL-ADDRESS LOCAL-PORT NUMBER-OF-PROCESSES"<), PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS, -1, 0);