/[monit]/monit/monitor.c
ViewVC logotype

Diff of /monit/monitor.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.42 by martinp, Tue Feb 11 21:27:39 2003 UTC revision 1.43 by hauk, Thu Feb 13 15:24:36 2003 UTC
# Line 175  static void do_init() { Line 175  static void do_init() {
175            
176    }    }
177    
178      /*
179       * Exist if we are just validating the Control file syntax. The
180       * previous parse statement exits the program if a syntax error is
181       * present in the control file.
182       */
183    if(Run.testing) {    if(Run.testing) {
184    
185      error("Configuration syntax test passed\n");      error("Control file syntax OK\n");
186      exit(0);      exit(0);
187    
188    }    }
# Line 642  static void help() { Line 647  static void help() {
647    printf(" -p pidfile  Use this lock file in daemon mode\n");    printf(" -p pidfile  Use this lock file in daemon mode\n");
648    printf(" -i          Validate mode, startup in validate mode\n");    printf(" -i          Validate mode, startup in validate mode\n");
649    printf(" -I          Init mode, run from init\n");    printf(" -I          Init mode, run from init\n");
650    printf(" -t          Configuration syntax testing mode\n");    printf(" -t          Run syntax check for the control file\n");
651    printf(" -v          Verbose mode, work noisy (diagnostic output)\n");    printf(" -v          Verbose mode, work noisy (diagnostic output)\n");
652    printf(" -V          Print version number and patchlevel\n");    printf(" -V          Print version number and patchlevel\n");
653    printf(" -h          Print this text\n");    printf(" -h          Print this text\n");

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26