From 3d599e2d5d73392265a575ac65b9885070e6d5a3 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Thu, 1 Nov 2012 15:15:36 +0100 Subject: [PATCH] phc2sys: update help message. Signed-off-by: Miroslav Lichvar --- phc2sys.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/phc2sys.c b/phc2sys.c index 7bafbed..d1df723 100644 --- a/phc2sys.c +++ b/phc2sys.c @@ -233,15 +233,15 @@ static void usage(char *progname) fprintf(stderr, "\n" "usage: %s [options]\n\n" - " -c [device] slave clock device, default CLOCK_REALTIME\n" - " -d [device] master device, source of PPS events\n" - " -h prints this message and exits\n" - " -s [device] set the time from this PHC device\n" - " -i [device] set the time from PHC connected to this eth device\n" - " -P [val] set proportional constant to 'val'\n" - " -I [val] set integration constant to 'val'\n" - " -R [val] set PHC update rate to 'val' Hz\n" - " -N [val] set number of PHC readings per update\n" + " -c [dev|name] slave clock (CLOCK_REALTIME)\n" + " -d [dev] master PPS device\n" + " -s [dev|name] master clock\n" + " -i [iface] master clock by network interface\n" + " -P [kp] proportional constant (0.7)\n" + " -I [ki] integration constant (0.3)\n" + " -R [rate] slave clock update rate in HZ (1)\n" + " -N [num] number of master clock readings per update (5)\n" + " -h prints this message and exits\n" "\n", progname); }