From 13f61288f9fc13e79f10b9a1e5df752b237ed458 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Sat, 30 Apr 2016 13:44:41 +0200 Subject: [PATCH] Add --help and --version to sdig --- pdns/sdig.cc | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/pdns/sdig.cc b/pdns/sdig.cc index 231a5c688..0ed228930 100644 --- a/pdns/sdig.cc +++ b/pdns/sdig.cc @@ -21,6 +21,11 @@ string ttl(uint32_t ttl) return std::to_string(ttl); } +void usage() { + cerr<<"sdig"< ednsnm; - reportAllTypes(); + + for(int i=1; i 5) { for(int i=5; i