From: Pieter Lexis Date: Sat, 30 Apr 2016 11:44:41 +0000 (+0200) Subject: Add --help and --version to sdig X-Git-Tag: rec-4.0.0-alpha3~19^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13f61288f9fc13e79f10b9a1e5df752b237ed458;p=thirdparty%2Fpdns.git Add --help and --version to sdig --- diff --git a/pdns/sdig.cc b/pdns/sdig.cc index 231a5c6884..0ed2289300 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