[Nagiosplug-devel] print_help() and print_usage()

Jeremy T. Bouse jeremy+nagios at undergrid.net
Wed Mar 12 18:38:01 CET 2003


On Wed, Mar 12, 2003 at 09:16:10PM -0500, Subhendu Ghosh wrote:
> 
> On Wed, 12 Mar 2003, Jeremy T. Bouse wrote:
> 
> > 	Looking at the standardization Karl is pushing towards I have to say I
> > like as it's much cleaner... I just see we'll be doing a lot of code duplication
> > and wonder why we don't just put the two above mentioned functions in utils.c
> > rather than in each plugin... I haven't look'd yet at what would be entailed
> > with moving the functions but it would seem that would be better than multiple
> > copies of the functions floating around... As an added side-affect we can then
> > use it as a criteria for plugin acceptance that it defines the necessary
> > variables and makes the calls to the functions...
> > 
> > 	Any other thoughts?
> > 
> > 	Jeremy
> > 
> 
> move the functions and use them as the Karl's documentation works hits 
> each plugin..,
> 
	I did find some cases where Karl is running the variable through printf
differently to get different info so we may have to look at it a lil bit more as
it doesn't appear as simple now unless we make some changes...

	Jeremy




More information about the Devel mailing list