"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "scripts/ntp-wait/ntp-wait-opts" between
ntp-4.2.8p14.tar.gz and ntp-4.2.8p15.tar.gz

About: NTP is the the Official Reference Implementation of the Network Time Protocol (NTP) that synchronize the clocks of computers over a network.

ntp-wait-opts  (ntp-4.2.8p14):ntp-wait-opts  (ntp-4.2.8p15)
# EDIT THIS FILE WITH CAUTION (ntp-wait-opts) # EDIT THIS FILE WITH CAUTION (ntp-wait-opts)
# #
# It has been AutoGen-ed March 3, 2020 at 05:41:56 PM by AutoGen 5.18.5 # It has been AutoGen-ed June 23, 2020 at 02:21:30 AM by AutoGen 5.18.5
# From the definitions ntp-wait-opts.def # From the definitions ntp-wait-opts.def
# and the template file perlopt # and the template file perlopt
use Getopt::Long qw(GetOptionsFromArray); use Getopt::Long qw(GetOptionsFromArray);
Getopt::Long::Configure(qw(no_auto_abbrev no_ignore_case_always)); Getopt::Long::Configure(qw(no_auto_abbrev no_ignore_case_always));
my $usage; my $usage;
sub usage { sub usage {
my ($ret) = @_; my ($ret) = @_;
skipping to change at line 43 skipping to change at line 43
'sleep' => '6', 'sleep' => '6',
'verbose' => '', 'verbose' => '',
'help' => '', 'more-help' => '' 'help' => '', 'more-help' => ''
}; };
my $argument = ''; my $argument = '';
my $ret = GetOptionsFromArray($args, $opts, ( my $ret = GetOptionsFromArray($args, $opts, (
'tries|n=i', 'sleep|s=i', 'verbose|v', 'tries|n=i', 'sleep|s=i', 'verbose|v',
'help|?', 'more-help')); 'help|?', 'more-help'));
$usage = <<'USAGE'; $usage = <<'USAGE';
ntp-wait - Wait for ntpd to stabilize the system clock - Ver. 4.2.8p14 ntp-wait - Wait for ntpd to stabilize the system clock - Ver. 4.2.8p15
USAGE: ntp-wait [ -<flag> [<val>] | --<name>[{=| }<val>] ]... USAGE: ntp-wait [ -<flag> [<val>] | --<name>[{=| }<val>] ]...
-n, --tries=num Number of times to check ntpd -n, --tries=num Number of times to check ntpd
-s, --sleep=num How long to sleep between tries -s, --sleep=num How long to sleep between tries
-v, --verbose Be verbose -v, --verbose Be verbose
-?, --help Display usage information and exit -?, --help Display usage information and exit
--more-help Pass the extended usage text through a pager --more-help Pass the extended usage text through a pager
Options are specified by doubled hyphens and their name or by a single Options are specified by doubled hyphens and their name or by a single
hyphen and the flag character. hyphen and the flag character.
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)