[zaptel-commits] tzafrir: branch 1.4 r3620 - in /branches/1.4: patgen.c patlooptest.c

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Mon Jan 7 04:04:56 CST 2008


Author: tzafrir
Date: Mon Jan  7 04:04:55 2008
New Revision: 3620

URL: http://svn.digium.com/view/zaptel?view=rev&rev=3620
Log:
Fix some usage messages.

Modified:
    branches/1.4/patgen.c
    branches/1.4/patlooptest.c

Modified: branches/1.4/patgen.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/patgen.c?view=diff&rev=3620&r1=3619&r2=3620
==============================================================================
--- branches/1.4/patgen.c (original)
+++ branches/1.4/patgen.c Mon Jan  7 04:04:55 2008
@@ -37,7 +37,7 @@
 	unsigned char c=0;
 	unsigned char outbuf[BLOCK_SIZE];
 	if (argc < 2) {
-		fprintf(stderr, "Usage: markhdlctest <tor device>\n");
+		fprintf(stderr, "Usage: %s <tor device>\n", argv[0]);
 		exit(1);
 	}
 	fd = open(argv[1], O_RDWR, 0600);

Modified: branches/1.4/patlooptest.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/patlooptest.c?view=diff&rev=3620&r1=3619&r2=3620
==============================================================================
--- branches/1.4/patlooptest.c (original)
+++ branches/1.4/patlooptest.c Mon Jan  7 04:04:55 2008
@@ -42,7 +42,7 @@
 	int timeout=0;
 	time_t start_time=0;
 	if (argc < 2 || argc > 3 ) {
-		fprintf(stderr, "Usage: %s <zaptel device (optional timeout)>\n",argv[0]);
+		fprintf(stderr, "Usage: %s <zaptel device> [timeout]\n",argv[0]);
 		exit(1);
 	}
 	fd = open(argv[1], O_RDWR, 0600);




More information about the zaptel-commits mailing list