aboutsummaryrefslogtreecommitdiffstats
path: root/test/sendburst.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/sendburst.c')
-rw-r--r--test/sendburst.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/sendburst.c b/test/sendburst.c
index a96b68c..b19df37 100644
--- a/test/sendburst.c
+++ b/test/sendburst.c
@@ -1,8 +1,9 @@
-/*
- * Test sending the burst mini command A/B on a SAT frontend.
- *
- * usage: FRONTEND=/dev/dvb/adapterX/frontendX sendburst {a|b}
- */
+#define USAGE \
+"\n" \
+"\nTest sending the burst mini command A/B on a SAT frontend." \
+"\n" \
+"\nusage: FRONTEND=/dev/dvb/adapterX/frontendX sendburst {a|b}" \
+"\n"
#include <stdlib.h>
#include <stdio.h>
@@ -22,7 +23,7 @@ int main (int argc, char **argv)
int fd, r;
if (argc != 2 || (strcmp(argv[1], "a") && strcmp(argv[1], "b"))) {
- fprintf (stderr, "usage: %s <a|b>\n", argv[0]);
+ fprintf (stderr, "usage: %s <a|b>\n" USAGE, argv[0]);
return 1;
}
@@ -52,4 +53,3 @@ int main (int argc, char **argv)
return 0;
}
-