SF.net SVN: nagiosplug:[2255] Nagios-Plugin/trunk/lib/Nagios/Plugin.pm

[email protected]
Newsgroups gmane.network.nagios.plugins.cvs
Message-ID <[email protected]>
Revision: 2255
          http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=2255&view=rev
Author:   dermoth
Date:     2009-10-09 22:13:27 +0000 (Fri, 09 Oct 2009)

Log Message:
-----------
Fixed documentation bug (Mike Place)

From: Ton Voon <[email protected]>

Modified Paths:
--------------
    Nagios-Plugin/trunk/lib/Nagios/Plugin.pm

Modified: Nagios-Plugin/trunk/lib/Nagios/Plugin.pm
===================================================================
--- Nagios-Plugin/trunk/lib/Nagios/Plugin.pm	2009-09-26 22:10:12 UTC (rev 2254)
+++ Nagios-Plugin/trunk/lib/Nagios/Plugin.pm	2009-10-09 22:13:27 UTC (rev 2255)
@@ -254,7 +254,7 @@
    );
 
    # add valid command line options and build them into your usage/help documentation.
-   $p->add_arg(
+   $np->add_arg(
      spec => 'warning|w=s',
      help => '-w, --warning=INTEGER:INTEGER .  See '
        . 'http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT '
@@ -262,7 +262,7 @@
    );
 
    # Parse @ARGV and process standard arguments (e.g. usage, help, version)
-   $p->getopts;
+   $np->getopts;
 
 
    # Exit/return value methods - nagios_exit( CODE, MESSAGE ), 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.