From 33ecb71e5f49f612a6c8606a175f0a4369078238 Mon Sep 17 00:00:00 2001 From: hadeshyp Date: Mon, 22 Aug 2011 18:08:14 +0000 Subject: [PATCH] update --- libtrbnet/trbcmd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); -- 2.43.0