Discussion:
[Linuxptp-devel] [PATCH] phc2sys: add help messages for -l, -m and -q
Ken ICHIKAWA
2013-03-28 01:46:00 UTC
Permalink
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 <***@jp.fujitsu.com>
---
phc2sys.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)

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);
}
--
1.7.1
Richard Cochran
2013-03-28 06:21:14 UTC
Permalink
Post by Ken ICHIKAWA
This patch adds help messages for -l, -m and -q options.
Also it swaps -h for -v because ptp4l's help is this order.
Applied.

Thanks,
Richard

Loading...