summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2012-07-08 13:21:33 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2012-07-21 23:47:00 -0700
commitc7e1d62267ad0296fbe29c00cd6b54a1ee1f93e0 (patch)
treeb146ed9e72312984ce7603e2bb82096fc4365196
parente38f959f756a0a3d4ce17e6e2735cfd411fd9d82 (diff)
Combine usage message into single string for fprintf
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--scope.c25
1 files 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<server-host>]\n");
- fprintf(stderr, " [-i<in-port>]\n");
- fprintf(stderr, " [-o<out-port>]\n");
- fprintf(stderr, " [-d<display-number>]\n");
- fprintf(stderr, " [-v<n>] -- verbose output\n");
- fprintf(stderr, " [-r] -- raw output\n");
- fprintf(stderr, " [-a<n>] -- audio verbose output\n");
- fprintf(stderr, " [-q] -- quiet output\n");
- fprintf(stderr, " [-D<debug-level>]\n");
- fprintf(stderr, " [-S<n>] -- start/stop on SIGUSR1\n");
- fprintf(stderr, " [-t] -- terminate when all clients close\n");
+ fprintf(stderr,
+ "Usage: xscope\n"
+ " [-h<server-host>]\n"
+ " [-i<in-port>]\n"
+ " [-o<out-port>]\n"
+ " [-d<display-number>]\n"
+ " [-v<n>] -- verbose output\n"
+ " [-r] -- raw output\n"
+ " [-a<n>] -- audio verbose output\n"
+ " [-q] -- quiet output\n"
+ " [-D<debug-level>]\n"
+ " [-S<n>] -- start/stop on SIGUSR1\n"
+ " [-t] -- terminate when all clients close\n");
exit(1);
}