From e1ca7b9a1cc4d84c9eb71010c257e93aae498a9a Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 7 Feb 2010 16:49:47 +0100 Subject: [PATCH] Document options in usage() output --- dsa-nagios-checks/checks/dsa-check-zone-rrsig-expiration | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } -- 2.20.1