"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "scripts/ntptrace/ntptrace-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.

ntptrace-opts  (ntp-4.2.8p14):ntptrace-opts  (ntp-4.2.8p15)
# EDIT THIS FILE WITH CAUTION (ntptrace-opts) # EDIT THIS FILE WITH CAUTION (ntptrace-opts)
# #
# It has been AutoGen-ed March 3, 2020 at 05:42:03 PM by AutoGen 5.18.5 # It has been AutoGen-ed June 23, 2020 at 02:21:38 AM by AutoGen 5.18.5
# From the definitions ntptrace-opts.def # From the definitions ntptrace-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
'max-hosts' => '99', 'max-hosts' => '99',
'host' => '127.0.0.1', 'host' => '127.0.0.1',
'help' => '', 'more-help' => '' 'help' => '', 'more-help' => ''
}; };
my $argument = '[host]'; my $argument = '[host]';
my $ret = GetOptionsFromArray($args, $opts, ( my $ret = GetOptionsFromArray($args, $opts, (
'numeric|n', 'max-hosts|m=i', 'host|r=s', 'numeric|n', 'max-hosts|m=i', 'host|r=s',
'help|?', 'more-help')); 'help|?', 'more-help'));
$usage = <<'USAGE'; $usage = <<'USAGE';
ntptrace - Trace peers of an NTP server - Ver. 4.2.8p14 ntptrace - Trace peers of an NTP server - Ver. 4.2.8p15
USAGE: ntptrace [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [host] USAGE: ntptrace [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [host]
-n, --numeric Print IP addresses instead of hostnames -n, --numeric Print IP addresses instead of hostnames
-m, --max-hosts=num Maximum number of peers to trace -m, --max-hosts=num Maximum number of peers to trace
-r, --host=str Single remote host -r, --host=str Single remote host
-?, --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)