matt massie wrote:
Today, Steven A. DuChene wrote forth saying...


So that doesn't really answer my question. How much has the code
changed in gmond since there was the command line options? I.E.
would it be fairly involved to add the old command line options
code (or perhaps just the "-iblah" one) back into the new 2.5.0
gmond code?


we don't have any plans to reintroduce the commandline options into gmond.
if you want to patch up a custom version of gmond here is some advice...

we use gengetopt to create all the source for the commandline options so
you'll need to modify the cmdline.sh script (in CVS)... run it (assuming
you have gengetopt installed 
http://www.gnu.org/software/gengetopt/gengetopt.html).

you'll need to then use the data in the commandline struct instead of the dotconf config file data.

This is as good a time as any to publicly whine about the absence of a debug mode switch for the command line.

*whine*

Seriously, the rest I could care less about, but the two things I expect to work on every program ever written are:

PROGRAM -v  (or --version)
PROGRAM version MAJOR.MINOR.PATCHLEVEL by MAINTAINER, DATE BUILT
[blah blah blah]


PROGRAM -d
[program enters Super Hyper Extended Debug Output mode]
[program spews out screens and screens of data in the hope that one line will be useful]


Anyway.  That's just me.


Reply via email to