summary-opts.def revision 290001
10SN/A/* -*- Mode: Text -*- */
2157SN/AAutoGen Definitions perlopt;
30SN/A
40SN/A#include autogen-version.def
50SN/A
60SN/Aprog-name      = 'summary';
7157SN/Aprog-title     = 'compute various stastics from NTP stat files';
80SN/Apackage		= ntp;
9157SN/A#include	version.def
100SN/A
110SN/Along-opts;
120SN/Agnu-usage;
130SN/A
140SN/Aflag = {
150SN/A    name        = directory;
160SN/A    arg-type    = string;
170SN/A    arg-default = '/var/log/ntp';
180SN/A    descrip     = 'Directory containing stat files';
190SN/A    doc         = <<-  _EndOfDoc_
200SN/A        The directory where @code{ntpd} will search for .stat files generated
21157SN/A        by @code{ntpd}.
22157SN/A	_EndOfDoc_;
23157SN/A};
240SN/A
250SN/Aflag = {
260SN/A    name        = end-date;
270SN/A    arg-type    = number;
280SN/A    descrip     = 'End date';
290SN/A    doc         = <<-  _EndOfDoc_
300SN/A        Process all files with the date suffix less or equal to value of this
310SN/A        option.  Defaults to today minus one day (Use @code{date -u +%Y%m%d})
320SN/A        to get the timestamp.
330SN/A	_EndOfDoc_;
340SN/A};
350SN/A
360SN/Aflag = {
370SN/A    name        = output-directory;
38    arg-type    = str;
39    arg-default = '/tmp';
40    descrip     = 'Output directory';
41    doc         = <<-  _EndOfDoc_
42        The output directory @code{summary} will write all output files to.
43	_EndOfDoc_;
44};
45
46flag = {
47    name        = peer-dist-limit;
48    arg-type    = string;
49    arg-name    = float;
50    arg-default = 400;
51    descrip     = 'Peer dist limit';
52    doc     = <<-  _EndOfDoc_
53	_EndOfDoc_;
54};
55
56flag = {
57    name        = skip-time-steps;
58    arg-type    = string;
59    arg-name    = float;
60    arg-default = 3600;
61    descrip     = 'Ignore time offsets larger that this';
62    doc     = <<-  _EndOfDoc_
63	_EndOfDoc_;
64};
65
66flag = {
67    name        = start-date;
68    arg-type    = num;
69    arg-default = 19700101;
70    descrip     = 'Start date';
71    doc     = <<-  _EndOfDoc_
72        Process all files with the date suffix more or equal to value of
73        this option.  Defaults to 197000101.
74	_EndOfDoc_;
75};
76
77doc-section = {
78    ds-type     = 'DESCRIPTION';
79    ds-format   = 'texi';
80    ds-text     = <<- _EndOfDoc
81	_EndOfDoc;
82};
83