summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xnagios-check-apt-updates3
1 files changed, 3 insertions, 0 deletions
diff --git a/nagios-check-apt-updates b/nagios-check-apt-updates
index 4d11215..2fbade1 100755
--- a/nagios-check-apt-updates
+++ b/nagios-check-apt-updates
@@ -1,5 +1,7 @@
#!/usr/bin/perl -Tw
+# $Id$
+
# nagios check for debian (security) updates,
# based on net-snmp glue to security updates via apt-get.
# Copyright (C) 2004 SILVER SERVER Gmbh
@@ -53,6 +55,7 @@ if (!GetOptions (
die ("Usage: $PROGRAM_NAME [--help|--version] [--sudo|--nosudo] [--verbose]\n");
};
if ($params->{'help'}) {
+ print "nagios-check-apt-updates $VERSION\n";
print "Usage: $PROGRAM_NAME [--help|--version] [--sudo|--nosudo] [--verbose]\n";
print "Reports packages to upgrade, updating the list if necessary.\n";
print "\n";