From: Harlan Stenn Date: Fri, 6 May 2016 09:20:29 +0000 (+0000) Subject: Fix typo in ntp-wait and plot_summary. HStenn. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c954e1673747df6f87f602c5ce4b39810188092f;p=thirdparty%2Fntp.git Fix typo in ntp-wait and plot_summary. HStenn. bk: 572c61ddd9iNXWkNDLfv-_HeCfvrfw --- diff --git a/ChangeLog b/ChangeLog index f61a44798..3e50cd9ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +--- + +* Fix typo in ntp-wait and plot_summary. HStenn. + --- (4.2.8p7) 2016/04/26 Released by Harlan Stenn diff --git a/scripts/invoke-plot_summary.texi b/scripts/invoke-plot_summary.texi index a8ba9cc27..29d9acf2d 100644 --- a/scripts/invoke-plot_summary.texi +++ b/scripts/invoke-plot_summary.texi @@ -6,7 +6,7 @@ # # EDIT THIS FILE WITH CAUTION (invoke-plot_summary.texi) # -# It has been AutoGen-ed April 26, 2016 at 08:25:00 PM by AutoGen 5.18.5 +# It has been AutoGen-ed May 6, 2016 at 09:12:48 AM by AutoGen 5.18.5 # From the definitions plot_summary-opts.def # and the template file agtexi-cmd.tpl @end ignore @@ -101,7 +101,7 @@ This option takes a string argument. This is string is passed directly to the @code{gnuplot set terminal} command. Default is @code{x11} if @code{DISPLAY} is set and @code{dumb} is it's not'. See output from @code(gnuplot -e "set - terminal") for the list of avalaible options. + terminal") for the list of available options. @node plot_summary output-file @subsection output-file option @cindex plot_summary-output-file diff --git a/scripts/ntp-wait/ntp-wait.in b/scripts/ntp-wait/ntp-wait.in index b35828a16..cfccbe0ac 100644 --- a/scripts/ntp-wait/ntp-wait.in +++ b/scripts/ntp-wait/ntp-wait.in @@ -33,7 +33,7 @@ sub run { } if (!exists $info->{status_line}{leap}) { - print "\bLeap status not avalaible\n"; + print "\bLeap status not available\n"; return 1; } diff --git a/scripts/plot_summary-opts b/scripts/plot_summary-opts index ffb9d3ff5..8c1d89720 100644 --- a/scripts/plot_summary-opts +++ b/scripts/plot_summary-opts @@ -1,6 +1,6 @@ # EDIT THIS FILE WITH CAUTION (plot_summary-opts) # -# It has been AutoGen-ed April 26, 2016 at 08:24:56 PM by AutoGen 5.18.5 +# It has been AutoGen-ed May 6, 2016 at 09:12:46 AM by AutoGen 5.18.5 # From the definitions plot_summary-opts.def # and the template file perlopt diff --git a/scripts/plot_summary-opts.def b/scripts/plot_summary-opts.def index 61f028bce..301019260 100644 --- a/scripts/plot_summary-opts.def +++ b/scripts/plot_summary-opts.def @@ -62,7 +62,7 @@ flag = { This is string is passed directly to the @code{gnuplot set terminal} command. Default is @code{x11} if @code{DISPLAY} is set and @code{dumb} is it's not'. See output from @code(gnuplot -e "set - terminal") for the list of avalaible options. + terminal") for the list of available options. _EndOfDoc_; }; diff --git a/scripts/plot_summary.1plot_summaryman b/scripts/plot_summary.1plot_summaryman index 38d3134ff..4be674a67 100644 --- a/scripts/plot_summary.1plot_summaryman +++ b/scripts/plot_summary.1plot_summaryman @@ -10,11 +10,11 @@ .ds B-Font B .ds I-Font I .ds R-Font R -.TH plot_summary 1plot_summaryman "26 Apr 2016" "ntp (4.2.8p7)" "User Commands" +.TH plot_summary 1plot_summaryman "06 May 2016" "ntp (4.2.8p7)" "User Commands" .\" -.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-gsaiHB/ag-ssaqGB) +.\" EDIT THIS FILE WITH CAUTION (in-mem file) .\" -.\" It has been AutoGen-ed April 26, 2016 at 08:25:02 PM by AutoGen 5.18.5 +.\" It has been AutoGen-ed May 6, 2016 at 09:12:49 AM by AutoGen 5.18.5 .\" From the definitions plot_summary-opts.def .\" and the template file agman-cmd.tpl .SH NAME @@ -74,7 +74,7 @@ Gnuplot terminal. This is string is passed directly to the \fBgnuplot set terminal\fP command. Default is \fBx11\fP if \fBDISPLAY\fP is set and \fBdumb\fP is it's not'. See output from @code(gnuplot \-e "set - terminal") for the list of avalaible options. + terminal") for the list of available options. .TP .NOP \f\*[B-Font]\-\-output\-file\f[]=\f\*[I-Font]str\f[] Output file. diff --git a/scripts/plot_summary.1plot_summarymdoc b/scripts/plot_summary.1plot_summarymdoc index 4b598dcec..5a3e733c4 100644 --- a/scripts/plot_summary.1plot_summarymdoc +++ b/scripts/plot_summary.1plot_summarymdoc @@ -1,9 +1,9 @@ -.Dd April 26 2016 +.Dd May 6 2016 .Dt PLOT_SUMMARY 1plot_summarymdoc User Commands .Os .\" EDIT THIS FILE WITH CAUTION (plot_summary-opts.mdoc) .\" -.\" It has been AutoGen-ed April 26, 2016 at 08:25:04 PM by AutoGen 5.18.5 +.\" It has been AutoGen-ed May 6, 2016 at 09:12:50 AM by AutoGen 5.18.5 .\" From the definitions plot_summary-opts.def .\" and the template file agmdoc-cmd.tpl .Sh NAME @@ -55,7 +55,7 @@ Gnuplot terminal. This is string is passed directly to the \fBgnuplot set terminal\fP command. Default is \fBx11\fP if \fBDISPLAY\fP is set and \fBdumb\fP is it's not'. See output from @code(gnuplot \-e "set - terminal") for the list of avalaible options. + terminal") for the list of available options. .It Fl \-output\-file Ns = Ns Ar str Output file. .sp diff --git a/scripts/plot_summary.html b/scripts/plot_summary.html index 9bb6228c3..92caa5d1b 100644 --- a/scripts/plot_summary.html +++ b/scripts/plot_summary.html @@ -3,7 +3,7 @@ Plot_summary User's Manual - + @@ -14,18 +14,20 @@ pre.smallformat { font-family:inherit; font-size:smaller } pre.smallexample { font-size:smaller } pre.smalllisp { font-size:smaller } - span.sc { font-variant:small-caps } - span.roman { font-family: serif; font-weight: normal; } + span.sc { font-variant:small-caps } + span.roman { font-family:serif; font-weight:normal; } + span.sansserif { font-family:sans-serif; font-weight:normal; } -->

Plot_summary User's Manual

+


-Next: , +Next: , Previous: (dir), Up: (dir) -
+

Plot_summary User Manual

@@ -46,10 +48,12 @@ This document applies to version 4.2.8p7 of plot_summary.
+ +


-Previous: plot_summary Description, +Previous: plot_summary Description, Up: Top -
+

Invoking plot_summary

@@ -60,7 +64,7 @@ Up: Top using the agtexi-cmd template and the option descriptions for the plot_summary program. -

plot_summary help/usage (--help)

+

plot_summary help/usage (--help)

This is the automatically generated usage text for plot_summary.

The text printed is the same whether selected with the help option -(--help) or the more-help option (--more-help). more-help will print +(--help) or the more-help option (--more-help). more-help will print the usage text by passing it through a pager program. more-help is disabled on platforms without a working fork(2) function. The PAGER environment variable is -used to select the program, defaulting to more. Both will exit +used to select the program, defaulting to more. Both will exit with a status code of 0.

plot_summary - plot statistics generated by summary script - Ver. 4.2.8p7
@@ -107,11 +113,13 @@ Options are specified by doubled hyphens and their name or by a single
 hyphen and the flag character.
 

directory option

@@ -122,11 +130,13 @@ This option takes a string argument. The directory where the plot_summary will search for the *_summary files generated by summary script.

identifier option

@@ -137,11 +147,13 @@ This option takes a string argument. Where does the plotted data come from, default to string "host" plus current hostname

peer option

@@ -158,11 +170,13 @@ This option takes a string argument.

By default the peer_summary plots are not generated. Use this option to specify list of peers if you want to generate plots for them.

plot-term option

@@ -173,13 +187,15 @@ This option takes a string argument. This is string is passed directly to the gnuplot set terminal command. Default is x11 if DISPLAY is set and dumb is it's not'. See output from -e "set - terminal") for the list of avalaible options. + terminal") for the list of available options.

output-file option

@@ -189,18 +205,20 @@ This is the “output file” option. This option takes a str argument. Output file for gnuplot, default to stdout.

plot_summary exit status

One of the following exit values will be returned:

-
0 (EXIT_SUCCESS)
Successful program execution. -
1 (EXIT_FAILURE)
The operation failed or the command syntax was not valid. +
0 (EXIT_SUCCESS)
Successful program execution. +
1 (EXIT_FAILURE)
The operation failed or the command syntax was not valid.
diff --git a/scripts/plot_summary.man.in b/scripts/plot_summary.man.in index 38d3134ff..4be674a67 100644 --- a/scripts/plot_summary.man.in +++ b/scripts/plot_summary.man.in @@ -10,11 +10,11 @@ .ds B-Font B .ds I-Font I .ds R-Font R -.TH plot_summary 1plot_summaryman "26 Apr 2016" "ntp (4.2.8p7)" "User Commands" +.TH plot_summary 1plot_summaryman "06 May 2016" "ntp (4.2.8p7)" "User Commands" .\" -.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-gsaiHB/ag-ssaqGB) +.\" EDIT THIS FILE WITH CAUTION (in-mem file) .\" -.\" It has been AutoGen-ed April 26, 2016 at 08:25:02 PM by AutoGen 5.18.5 +.\" It has been AutoGen-ed May 6, 2016 at 09:12:49 AM by AutoGen 5.18.5 .\" From the definitions plot_summary-opts.def .\" and the template file agman-cmd.tpl .SH NAME @@ -74,7 +74,7 @@ Gnuplot terminal. This is string is passed directly to the \fBgnuplot set terminal\fP command. Default is \fBx11\fP if \fBDISPLAY\fP is set and \fBdumb\fP is it's not'. See output from @code(gnuplot \-e "set - terminal") for the list of avalaible options. + terminal") for the list of available options. .TP .NOP \f\*[B-Font]\-\-output\-file\f[]=\f\*[I-Font]str\f[] Output file. diff --git a/scripts/plot_summary.mdoc.in b/scripts/plot_summary.mdoc.in index 4b598dcec..5a3e733c4 100644 --- a/scripts/plot_summary.mdoc.in +++ b/scripts/plot_summary.mdoc.in @@ -1,9 +1,9 @@ -.Dd April 26 2016 +.Dd May 6 2016 .Dt PLOT_SUMMARY 1plot_summarymdoc User Commands .Os .\" EDIT THIS FILE WITH CAUTION (plot_summary-opts.mdoc) .\" -.\" It has been AutoGen-ed April 26, 2016 at 08:25:04 PM by AutoGen 5.18.5 +.\" It has been AutoGen-ed May 6, 2016 at 09:12:50 AM by AutoGen 5.18.5 .\" From the definitions plot_summary-opts.def .\" and the template file agmdoc-cmd.tpl .Sh NAME @@ -55,7 +55,7 @@ Gnuplot terminal. This is string is passed directly to the \fBgnuplot set terminal\fP command. Default is \fBx11\fP if \fBDISPLAY\fP is set and \fBdumb\fP is it's not'. See output from @code(gnuplot \-e "set - terminal") for the list of avalaible options. + terminal") for the list of available options. .It Fl \-output\-file Ns = Ns Ar str Output file. .sp diff --git a/scripts/t/ntp-wait.t b/scripts/t/ntp-wait.t index 7a01b1242..9e886eaa2 100644 --- a/scripts/t/ntp-wait.t +++ b/scripts/t/ntp-wait.t @@ -86,7 +86,7 @@ is($ret, 1, 'fails on invalid leap status'); stdout_like( sub { $ret = run_ntp_wait(vars => [{}], opts => [qw(-n 2 -s 0 -v)]) }, - qr/Leap status not avalaible/, + qr/Leap status not available/, 'print debug information when no leap returned' ); is($ret, 1, 'fails if not leap returned');