From 5d7e1b0f183a7bf3f6c7a0ac09bc45e876ec5772 Mon Sep 17 00:00:00 2001 From: Ken ICHIKAWA Date: Thu, 28 Mar 2013 10:46:00 +0900 Subject: [PATCH] phc2sys: add help messages for -l, -m and -q This patch adds help messages for -l, -m and -q options. Also it swaps -h for -v because ptp4l's help is this order. Signed-off-by: Ken ICHIKAWA --- phc2sys.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/phc2sys.c b/phc2sys.c index 1f851f7..d210df8 100644 --- a/phc2sys.c +++ b/phc2sys.c @@ -527,8 +527,11 @@ static void usage(char *progname) " -u [num] number of clock updates in summary stats (0)\n" " -w wait for ptp4l\n" " -x apply leap seconds by servo instead of kernel\n" - " -h prints this message and exits\n" + " -l [num] set the logging level to 'num' (6)\n" + " -m print messages to stdout\n" + " -q do not print messages to the syslog\n" " -v prints the software version and exits\n" + " -h prints this message and exits\n" "\n", progname); }