phc2sys: update help message.
Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com>master
parent
d0714a9fac
commit
3d599e2d5d
18
phc2sys.c
18
phc2sys.c
|
@ -233,15 +233,15 @@ static void usage(char *progname)
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"\n"
|
"\n"
|
||||||
"usage: %s [options]\n\n"
|
"usage: %s [options]\n\n"
|
||||||
" -c [device] slave clock device, default CLOCK_REALTIME\n"
|
" -c [dev|name] slave clock (CLOCK_REALTIME)\n"
|
||||||
" -d [device] master device, source of PPS events\n"
|
" -d [dev] master PPS device\n"
|
||||||
" -h prints this message and exits\n"
|
" -s [dev|name] master clock\n"
|
||||||
" -s [device] set the time from this PHC device\n"
|
" -i [iface] master clock by network interface\n"
|
||||||
" -i [device] set the time from PHC connected to this eth device\n"
|
" -P [kp] proportional constant (0.7)\n"
|
||||||
" -P [val] set proportional constant to 'val'\n"
|
" -I [ki] integration constant (0.3)\n"
|
||||||
" -I [val] set integration constant to 'val'\n"
|
" -R [rate] slave clock update rate in HZ (1)\n"
|
||||||
" -R [val] set PHC update rate to 'val' Hz\n"
|
" -N [num] number of master clock readings per update (5)\n"
|
||||||
" -N [val] set number of PHC readings per update\n"
|
" -h prints this message and exits\n"
|
||||||
"\n",
|
"\n",
|
||||||
progname);
|
progname);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue