From: Pieter Lexis Date: Fri, 29 Apr 2016 14:52:34 +0000 (+0200) Subject: Add --version and --help to dnsgram X-Git-Tag: rec-4.0.0-alpha3~19^2~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f6996e307ddd3edf5962ebf35dd740d2be5c8df;p=thirdparty%2Fpdns.git Add --version and --help to dnsgram --- diff --git a/pdns/dnsgram.cc b/pdns/dnsgram.cc index ef89ae291c..9b8ae75475 100644 --- a/pdns/dnsgram.cc +++ b/pdns/dnsgram.cc @@ -79,10 +79,31 @@ void makeReport(const struct pdns_timeval& tv) g_skipped=0; } +void usage() { + cerr<<"syntax: dnsgram INFILE..."<