From c7e1d62267ad0296fbe29c00cd6b54a1ee1f93e0 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 8 Jul 2012 13:21:33 -0700 Subject: Combine usage message into single string for fprintf Signed-off-by: Alan Coopersmith --- scope.c | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/scope.c b/scope.c index 9928bad..2f9befc 100644 --- a/scope.c +++ b/scope.c @@ -649,18 +649,19 @@ GetScopePort(void) static void Usage(void) { - fprintf(stderr, "Usage: xscope\n"); - fprintf(stderr, " [-h]\n"); - fprintf(stderr, " [-i]\n"); - fprintf(stderr, " [-o]\n"); - fprintf(stderr, " [-d]\n"); - fprintf(stderr, " [-v] -- verbose output\n"); - fprintf(stderr, " [-r] -- raw output\n"); - fprintf(stderr, " [-a] -- audio verbose output\n"); - fprintf(stderr, " [-q] -- quiet output\n"); - fprintf(stderr, " [-D]\n"); - fprintf(stderr, " [-S] -- start/stop on SIGUSR1\n"); - fprintf(stderr, " [-t] -- terminate when all clients close\n"); + fprintf(stderr, + "Usage: xscope\n" + " [-h]\n" + " [-i]\n" + " [-o]\n" + " [-d]\n" + " [-v] -- verbose output\n" + " [-r] -- raw output\n" + " [-a] -- audio verbose output\n" + " [-q] -- quiet output\n" + " [-D]\n" + " [-S] -- start/stop on SIGUSR1\n" + " [-t] -- terminate when all clients close\n"); exit(1); } -- cgit v1.2.3