From 987819ad8910f5fedca4553706ec88919a3c9ad9 Mon Sep 17 00:00:00 2001 From: Gerhard Sittig Date: Sun, 26 Feb 2017 18:15:23 +0100 Subject: [PATCH] runtc: minor nits in usage(), add missing options Adjust the screen layout of usage() output: Align parameters to options in identical ways, to separate them from descriptions for options which don't take parameters. Add previously not listed options. --- decoder/runtc.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/decoder/runtc.c b/decoder/runtc.c index f175f6a..3d0bfd8 100644 --- a/decoder/runtc.c +++ b/decoder/runtc.c @@ -136,15 +136,16 @@ static void usage(const char *msg) if (msg) fprintf(stderr, "%s\n", msg); - printf("Usage: runtc [-dPpoiOf]\n"); - printf(" -d Debug\n"); - printf(" -P \n"); - printf(" -p (optional)\n"); - printf(" -o (optional)\n"); + printf("Usage: runtc [-dPpoiOfcS]\n"); + printf(" -d (enables debug output)\n"); + printf(" -P \n"); + printf(" -p (optional)\n"); + printf(" -o (optional)\n"); printf(" -i \n"); printf(" -O \n"); printf(" -f (optional)\n"); printf(" -c (optional)\n"); + printf(" -S (enables statistics)\n"); exit(msg ? 1 : 0); } -- 2.30.2