From 7f534cbc747be59da1c73a03867baa20fa183235 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Mon, 3 May 2010 17:26:41 -0500 Subject: [PATCH] Rename 'thread' iocsh command to 'epicsThreadShow'. --- src/libCom/iocsh/libComRegister.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libCom/iocsh/libComRegister.c b/src/libCom/iocsh/libComRegister.c index 2d638096c..6cd79bb66 100644 --- a/src/libCom/iocsh/libComRegister.c +++ b/src/libCom/iocsh/libComRegister.c @@ -201,10 +201,10 @@ static void epicsThreadShowAllCallFunc(const iocshArgBuf *args) epicsThreadShowAll(args[0].ival); } -/* thread (thread information) */ +/* epicsThreadShow */ static const iocshArg threadArg0 = { "[-level] [thread ...]", iocshArgArgv}; static const iocshArg * const threadArgs[1] = { &threadArg0 }; -static const iocshFuncDef threadFuncDef = {"thread",1,threadArgs}; +static const iocshFuncDef threadFuncDef = {"epicsThreadShow",1,threadArgs}; static void threadCallFunc(const iocshArgBuf *args) { int i = 1; @@ -231,7 +231,7 @@ static void threadCallFunc(const iocshArgBuf *args) if (*endp) { tid = epicsThreadGetId (cp); if (!tid) { - printf ("*** argument %d (%s) is not a valid thread name ***\n", i, cp); + printf ("\t'%s' is not a known thread name\n", cp); continue; } }