From: Peter Palfrader Date: Sun, 7 Feb 2010 15:49:47 +0000 (+0100) Subject: Document options in usage() output X-Git-Url: https://wiki.adam-barratt.org.uk/gitweb/?a=commitdiff_plain;h=e1ca7b9a1cc4d84c9eb71010c257e93aae498a9a;p=mirror%2Fdsa-nagios.git Document options in usage() output --- diff --git a/dsa-nagios-checks/checks/dsa-check-zone-rrsig-expiration b/dsa-nagios-checks/checks/dsa-check-zone-rrsig-expiration index 5d3893b..1349863 100755 --- a/dsa-nagios-checks/checks/dsa-check-zone-rrsig-expiration +++ b/dsa-nagios-checks/checks/dsa-check-zone-rrsig-expiration @@ -38,6 +38,9 @@ # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. +# Copyright (c) 2010 Peter Palfrader + + # usage # # define command { @@ -249,7 +252,7 @@ sub output { } sub usage { - print STDERR "usage: $0 -Z zone\n"; + print STDERR "usage: $0 [-d] [-t=] -Z zone\n"; exit 3; }