From e06df8906b70ec54e31e5cc91478cb82dcf8bebb Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Fri, 29 Apr 2016 17:36:39 +0200 Subject: [PATCH] Add --help and --version to dumresp --- pdns/dumresp.cc | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) 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); -- 2.47.2