this fixes the nasty >80 column output for usage(). I chose
to make one of the lines slightly longer than 80 cols in source
code, I thought that was preferable to breaking the usage text
over two lines of source.

ok?

Index: tcpbench.c
===================================================================
RCS file: /cvs/src/usr.bin/tcpbench/tcpbench.c,v
retrieving revision 1.14
diff -u -p -r1.14 tcpbench.c
--- tcpbench.c  8 Sep 2009 12:53:52 -0000       1.14
+++ tcpbench.c  11 Sep 2009 14:48:28 -0000
@@ -136,11 +136,10 @@ usage(void)
 {
        fprintf(stderr,
            "usage: tcpbench -l\n"
-           "       tcpbench [-v] [-B buf] [-k kvars] [-n connections]"
-           " [-p port] [-r rate] [-V rdomain]\n"
-           "                [-S space] hostname\n"
-           "       tcpbench -s [-v] [-B buf] [-k kvars] [-p port] [-r rate]"
-           " [-S space] [-V rdomain]\n");
+           "       tcpbench [-v] [-B buf] [-k kvars] [-n connections] [-p 
port]\n"
+           "                [-r rate] [-V rdomain] [-S space] hostname\n"
+           "       tcpbench -s [-v] [-B buf] [-k kvars] [-p port]\n"
+           "                [-r rate] [-S space] [-V rdomain]\n");
        exit(1);
 }

Reply via email to