~ubuntu-branches/ubuntu/gutsy/ntp/gutsy

« back to all changes in this revision

Viewing changes to ntpdc/ntpdc-opts.def

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2007-05-18 22:41:56 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070518224156-563ruqxsxvqvoy8h
Tags: 1:4.2.4p0+dfsg-1ubuntu1
* Merge from Debian unstable.
* Remaining Ubuntu changes:
  - Update version in conflicts/replaces to that which was shipped in edgy,
    which was later than that in Debian (due to the ubuntuX).
  - Change default server to ntp.ubuntu.com.
  - Remove stop links from rc0 and rc6
  - Call dh_installinit with --error-handler
  - Set Ubuntu maintainer address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: Text -*- */
 
2
 
 
3
autogen definitions options;
 
4
 
 
5
prog-name      = "ntpdc";
 
6
prog-title     = "vendor-specific NTP query program";
 
7
argument       = '[ host ...]';
 
8
 
 
9
#include copyright.def
 
10
#include autogen-version.def
 
11
 
 
12
test-main;
 
13
 
 
14
flag = {
 
15
    name      = ipv4;
 
16
    value     = 4;
 
17
    equivalence = ipv4;
 
18
    descrip   = "Force IPv4 DNS name resolution";
 
19
    doc = <<-  _EndOfDoc_
 
20
        Force DNS resolution of following host names on the command line
 
21
        to the IPv4 namespace.
 
22
        _EndOfDoc_;
 
23
};
 
24
 
 
25
flag = {
 
26
    name      = ipv6;
 
27
    value     = 6;
 
28
    equivalence = ipv4;
 
29
    descrip   = "Force IPv6 DNS name resolution";
 
30
    doc = <<-  _EndOfDoc_
 
31
        Force DNS resolution of following host names on the command line
 
32
        to the IPv6 namespace.
 
33
        _EndOfDoc_;
 
34
};
 
35
 
 
36
flag = {
 
37
    name      = command;
 
38
    value     = c;
 
39
    arg-type  = string;
 
40
    descrip   = "run a command and exit";
 
41
    max       = NOLIMIT;
 
42
    arg-name  = cmd;
 
43
    stack-arg;
 
44
    doc = <<-  _EndOfDoc_
 
45
        The following argument is interpreted as an interactive format command
 
46
        and is added to the list of commands to be executed on the specified
 
47
        host(s).
 
48
        _EndOfDoc_;
 
49
};
 
50
 
 
51
flag = {
 
52
    name      = listpeers;
 
53
    value     = l;
 
54
    descrip   = "Print a list of the peers";
 
55
    flags-cant = command;
 
56
    doc = <<-  _EndOfDoc_
 
57
        Print a list of the peers known to the server as well as a summary of
 
58
        their state. This is equivalent to the 'listpeers' interactive command.
 
59
        _EndOfDoc_;
 
60
};
 
61
 
 
62
flag = {
 
63
    name      = peers;
 
64
    value     = p;
 
65
    descrip   = "Print a list of the peers";
 
66
    flags-cant = command;
 
67
    doc = <<-  _EndOfDoc_
 
68
        Print a list of the peers known to the server as well as a summary
 
69
        of their state. This is equivalent to the 'peers' interactive command.
 
70
        _EndOfDoc_;
 
71
};
 
72
 
 
73
flag = {
 
74
    name      = showpeers;
 
75
    value     = s;
 
76
    descrip   = "Show a list of the peers";
 
77
    flags-cant = command;
 
78
    doc = <<-  _EndOfDoc_
 
79
        Print a list of the peers known to the server as well as a summary
 
80
        of their state. This is equivalent to the 'dmpeers' interactive command.
 
81
        _EndOfDoc_;
 
82
};
 
83
 
 
84
flag = {
 
85
    name      = interactive;
 
86
    value     = i;
 
87
    flags-cant = command, listpeers, peers, showpeers;
 
88
    descrip   = "Force ntpq to operate in interactive mode";
 
89
    doc = <<-  _EndOfDoc_
 
90
        Force ntpq to operate in interactive mode.  Prompts will be written
 
91
        to the standard output and commands read from the standard input.
 
92
        _EndOfDoc_;
 
93
};
 
94
 
 
95
#include debug-opt.def
 
96
 
 
97
flag = {
 
98
    name      = numeric;
 
99
    value     = n;
 
100
    descrip   = "numeric host addresses";
 
101
    doc = <<-  _EndOfDoc_
 
102
        Output all host addresses in dotted-quad numeric format rather than
 
103
        converting to the canonical host names. 
 
104
        _EndOfDoc_;
 
105
};
 
106
 
 
107
detail = <<-  _END_DETAIL
 
108
        The
 
109
        [= prog-name =]
 
110
        utility program is used to query an NTP daemon about its
 
111
        current state and to request changes in that state.
 
112
        It uses NTP mode 7 control message formats described in the source code.
 
113
        The program may
 
114
        be run either in interactive mode or controlled using command line
 
115
        arguments.
 
116
        Extensive state and statistics information is available
 
117
        through the
 
118
        [= prog-name =]
 
119
        interface.
 
120
        In addition, nearly all the
 
121
        configuration options which can be specified at startup using
 
122
        ntpd's configuration file may also be specified at run time using
 
123
        [= prog-name =] .
 
124
 
 
125
 
 
126
        _END_DETAIL;