summaryrefslogtreecommitdiff
path: root/ctdb/ib
diff options
context:
space:
mode:
authorPeter Somogyi <psomogyi@gamax.hu>2007-04-26 17:06:36 +0200
committerPeter Somogyi <psomogyi@gamax.hu>2007-04-26 17:06:36 +0200
commit0ce857fb2f86af623510dfcf555203f93112700c (patch)
tree97d5965bb022a0bae04551a2e6069e6fe8ca3a59 /ctdb/ib
parent4a106ade411a0fee739a41c37f754ea147a5a2de (diff)
downloadsamba-0ce857fb2f86af623510dfcf555203f93112700c.tar.gz
ctdb/ib: swapped ibwrapper_tets options (-d, -a, -g)
(This used to be ctdb commit 4c11d4a990b792d3bc36e062c674e9573c6de821)
Diffstat (limited to 'ctdb/ib')
-rw-r--r--ctdb/ib/ibwrapper_test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ctdb/ib/ibwrapper_test.c b/ctdb/ib/ibwrapper_test.c
index d48a0cee482..5684e673bf3 100644
--- a/ctdb/ib/ibwrapper_test.c
+++ b/ctdb/ib/ibwrapper_test.c
@@ -531,14 +531,14 @@ void ibwtest_usage(struct ibwtest_ctx *tcx, char *name)
printf("\t%s -i <id> -o {name:value} -d {addr:port} -t nsec -s\n", name);
printf("\t-i <id> is a free text, acting as a server id, max 23 chars [mandatory]\n");
printf("\t-o name1:value1,name2:value2,... is a list of (name, value) pairs\n");
- printf("\t-d addr1:port1,addr2:port2,... is a list of destination ip addresses\n");
+ printf("\t-a addr1:port1,addr2:port2,... is a list of destination ip addresses\n");
printf("\t-t nsec delta time between sends in nanosec [default %d]\n", tcx->nsec);
printf("\t\t send message periodically and endless when nsec is non-zero\n");
printf("\t-s server mode (you have to give exactly one -d address:port in this case)\n");
printf("\t-n number of messages to send [default %d]\n", tcx->nmsg);
printf("\t-l usec time to sleep in the main loop [default %d]\n", tcx->sleep_usec);
printf("\t-v max variable msg size in bytes [default %d], 0=don't send var. size\n", tcx->maxsize);
- printf("\t-g LogLevel [default %d]\n", LogLevel);
+ printf("\t-d LogLevel [default %d]\n", LogLevel);
printf("Press ctrl+C to stop the program.\n");
}
@@ -572,7 +572,7 @@ int main(int argc, char *argv[])
&tcx->nattrs, op))
goto cleanup;
break;
- case 'd':
+ case 'a':
if (ibwtest_getdests(tcx, op))
goto cleanup;
break;
@@ -591,7 +591,7 @@ int main(int argc, char *argv[])
case 'v':
tcx->maxsize = (unsigned int)atoi(optarg);
break;
- case 'g':
+ case 'd':
LogLevel = atoi(optarg);
break;
default: