From: Pieter Lexis Date: Fri, 29 Apr 2016 17:26:52 +0000 (+0200) Subject: Add --help and --version to notify X-Git-Tag: rec-4.0.0-alpha3~19^2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d09ce00c72ce19c2cc7a64896818483177a6a45d;p=thirdparty%2Fpdns.git Add --help and --version to notify --- diff --git a/pdns/notify.cc b/pdns/notify.cc index 3aa620c764..c07514c2f0 100644 --- a/pdns/notify.cc +++ b/pdns/notify.cc @@ -31,11 +31,28 @@ ArgvMap &arg() return arg; } +void usage() { + cerr<<"Syntax: notify IP_ADDRESS[:PORT] DOMAIN"<