diff options
author | etobi <git@e-tobi.net> | 2013-09-03 09:48:41 +0200 |
---|---|---|
committer | etobi <git@e-tobi.net> | 2013-09-03 09:48:41 +0200 |
commit | ab959d7b4194715870128e616b8e29d4a101e488 (patch) | |
tree | 61a746231d30817be73416a7d67763fd677a1042 /test/sendburst.c | |
parent | 6b350466c4902c5b137e0efaf1d189128a7f18f5 (diff) | |
download | linux-dvb-apps-ab959d7b4194715870128e616b8e29d4a101e488.tar.gz |
Imported Upstream version 1.1.1+rev1207upstream/1.1.1+rev1207
Diffstat (limited to '')
-rw-r--r-- | test/sendburst.c | 14 |
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; } - |