[lksctp-developers] [PATCH] sctp_status: add missed parameter description and remove unused option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Hangbin Liu <liuhangbin@xxxxxxxxx>
---
 src/apps/sctp_status.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/apps/sctp_status.c b/src/apps/sctp_status.c
index 76f96e4..691052f 100644
--- a/src/apps/sctp_status.c
+++ b/src/apps/sctp_status.c
@@ -127,7 +127,7 @@ int main(int argc, char *argv[]) {
 	struct sockaddr_in6 *t_addr6;
 
 	/* Parse the arguments.  */
-	while ((c = getopt(argc, argv, ":H:L:P:h:p:c:d:lm:sx:X:o:M:r:Di:I:f:")) >= 0 ) {
+	while ((c = getopt(argc, argv, ":H:L:P:h:p:c:d:lm:sx:X:o:M:Di:I:f:")) >= 0 ) {
 		switch (c) {
 		case 'H':
 			local_host = optarg;
@@ -817,6 +817,7 @@ void usage(char *argv0) {
 	fprintf(stderr, "\t-c value = Packets of specifed size.\n");
 	fprintf(stderr, "\t-m msgsize(1500-65515, default value 32768)\n");
 	fprintf(stderr, "\t-x number of repeats\n");
+	fprintf(stderr, "\t-X number of message count\n");
 	fprintf(stderr, "\t-o order-pattern\n");
 	fprintf(stderr, "\t   0 = all unordered(default) \n");
 	fprintf(stderr, "\t   1 = all ordered \n");
@@ -824,6 +825,7 @@ void usage(char *argv0) {
 	fprintf(stderr, "\t   3 = random\n");
 	fprintf(stderr, "\t-M max-stream (default value 0)\n");
 	fprintf(stderr, "\t-D drain. If in client mode do a read following send.\n");
+	fprintf(stderr, "\t-I receive after how many times of send, default is 1.\n");
 	fprintf(stderr, "\n");
 	fflush(stderr);
 
-- 
1.8.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Networking Development]     [Linux OMAP]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux