From: hadeshyp Date: Mon, 22 Aug 2011 18:08:14 +0000 (+0000) Subject: update X-Git-Tag: v6.0~139 X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=33ecb71e5f49f612a6c8606a175f0a4369078238;p=trbnettools.git update --- diff --git a/libtrbnet/trbcmd.c b/libtrbnet/trbcmd.c index c34b826..9373337 100644 --- a/libtrbnet/trbcmd.c +++ b/libtrbnet/trbcmd.c @@ -25,7 +25,7 @@ static int hexMode = HEXMODE; -static const char trbcmd_version[] = "$Revision: 2.70 $"; +static const char trbcmd_version[] = "$Revision: 2.71 $"; #define BACKLOG 10 static uint16_t tcp_port = 55555; @@ -98,7 +98,7 @@ void usage(const char *progName) fprintf(stdout, " -n repeat COMMAND number times, -1 = endless loop\n"); fprintf(stdout, " -s only if running in -n mode, " - "sleep time in useconds (usleep)\n"); + "sleep time in ms\n"); fprintf(stdout, " -M turn on HighMemoryMode (maximum usage is 20MByte, default: " "3MByte)\n"); @@ -223,7 +223,7 @@ int start(int argc, char **argv) loop = strtol(optarg, NULL, 0); break; case 's': - sleepTime = strtol(optarg, NULL, 0); + sleepTime = strtol(optarg, NULL, 0) * 1000; break; case 'd': trb_debug = strtoul(optarg, NULL, 0);