ntptrace man page is wrong
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ntp (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: ntp
Documentation bug, present on Jaunty, Intrepid, Hardy, and upstream in Lenny and Etch, at least. May be older...
man ntptrace says
[...]
ntptrace [ -vdn ] [ -r retries ] [ -t timeout ] [ server ]
But the only valid options are -n and -m. -m is not even listed and -n is never defined in the man page (actually, almost noting is defined in the man page).
# See the options
[jp@ubuntu-
/home/jp$ less /usr/bin/ntptrace -N
[...]
11 $Getopt:
12 getopts('nm:');
# Try some anyway
[jp@ubuntu-
/home/jp$ ntptrace -v -r1 -t1
Unknown option: v
Unknown option: r
Unknown option: 1
Unknown option: t
Unknown option: 1
localhost: stratum 16, offset 0.000000, synch distance 0.008730
[jp@ubuntu-
/home/jp$ ntptrace -v -r 1 -t 1
Unknown option: v
Unknown option: r
ntpq: connect: Invalid argument
ntpq -n -c rv 1 failed at /usr/bin/ntptrace line 40.
Expected: the man page should accurately reflect and document the program's available options.
Changed in ntp (Ubuntu): | |
status: | Incomplete → Confirmed |
Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately, we can't fix it because your description didn't include enough information. You may find it helpful to read "How to report bugs effectively" http:// www.chiark. greenend. org.uk/ ~sgtatham/ bugs.html. We'd be grateful if you would then provide a more complete description of the problem. We have instructions on debugging some types of problems at http:// wiki.ubuntu. com/DebuggingPr ocedures.
At a minimum, we need:
1. the specific steps or actions you took that caused you to encounter the problem,
2. the behavior you expected, and
3. the behavior you actually encountered (in as much detail as possible).
Thanks!
When reporting bugs in the future please use apport, either via the appropriate application's "Help -> Report a Problem" menu or using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https:/ /wiki.ubuntu. com/ReportingBu gs.