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 <ichikawa.ken@jp.fujitsu.com>
master
Ken ICHIKAWA 2013-03-28 10:46:00 +09:00 committed by Richard Cochran
parent 8c55817caf
commit 5d7e1b0f18
1 changed files with 4 additions and 1 deletions

View File

@ -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);
}