16699Schegar/* -*- Mode: Text -*- */
26699Schegarautogen definitions perlopt;
36699Schegar
46699Schegar#include autogen-version.def
56699Schegar
66699Schegarprog-name      = 'ntpsweep';
76699Schegarprog-title     = 'Print various informations about given ntp servers';
86699Schegarpackage        = ntp;
96699Schegar#include       version.def
106699Schegar
116699Schegarargument       = '[hostfile]';
126699Schegarlong-opts;
136699Schegargnu-usage;
146699Schegar
156699Schegarflag = {
166699Schegar    name     = host-list;
176699Schegar    value    = l;
186699Schegar    arg-type = string;
196699Schegar    max      = NOLIMIT;
206699Schegar    stack-arg;
216699Schegar    descrip  = 'Host to execute actions on';
226699Schegar    doc      = <<- _EndOfDoc_
236699Schegar            Use this option to specify the host on which this script operates.
246699Schegar            May appear multiple times.
256699Schegar	_EndOfDoc_;
266699Schegar};
276699Schegar
2812057Smchungflag = {
296699Schegar    name    = peers;
306699Schegar    value   = p;
316699Schegar    descrip = 'Recursively list all peers a host synchronizes to';
326699Schegar};
336699Schegar
346699Schegarflag = {
356699Schegar    name     = maxlevel;
366699Schegar    value    = m;
376699Schegar    arg-type = number;
386699Schegar    descrip  = 'Traverse peers up to this level (4 is a reasonable number)';
396699Schegar};
406699Schegar
416699Schegarflag = {
426699Schegar    name     = strip;
436699Schegar    value    = s;
446699Schegar    arg-type = string;
456699Schegar    descrip  = 'Strip this string from hostnames';
466699Schegar};
476699Schegar
486699Schegar/* Deprecated options */
496699Schegarflag = {
506699Schegar    name        = host;
516699Schegar    value       = h;
526699Schegar    arg-type    = string;
536699Schegar    descrip     = 'Specify a single host';
546699Schegar    deprecated;
556699Schegar};
566699Schegar
576699Schegardoc-section	= {
586699Schegar  ds-type	= 'DESCRIPTION';
596699Schegar  ds-format	= 'mdoc';
606699Schegar  ds-text	= <<- _END_PROG_MDOC_DESCRIP
616699Schegar.Nm 
626699Schegarprints per host the NTP stratum level, the clock offset in seconds, the daemon
636699Schegarversion, the operating system and the processor. Optionally recursing through
646699Schegarall peers.
656699Schegar	_END_PROG_MDOC_DESCRIP;
666699Schegar};
676699Schegar