From 92983574e7cd4e66d4689700527b653bc2e25e1e Mon Sep 17 00:00:00 2001 From: "W. Eric Norum" Date: Mon, 19 Mar 2001 22:14:35 +0000 Subject: [PATCH] Clean up the help message for # comments. --- src/iocsh/ioccrf.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/iocsh/ioccrf.cpp b/src/iocsh/ioccrf.cpp index ddad7a980..c6c41ab9f 100644 --- a/src/iocsh/ioccrf.cpp +++ b/src/iocsh/ioccrf.cpp @@ -219,7 +219,7 @@ ioccrf (const char *pathname) if ((pathname == NULL) || (strcmp (pathname, "") == 0)) { const char *historySize; if ((prompt = getenv ("IOCSH_PS1")) == NULL) - prompt = "iocsh> "; + prompt = "epics> "; if (((historySize = getenv ("IOCSH_HISTSIZE")) == NULL) && ((historySize = getenv ("HISTSIZE")) == NULL)) historySize = "20"; @@ -484,10 +484,9 @@ static void helpCallFunc(const ioccrfArgBuf *) } /* comment */ -static const ioccrfArg commentArg0 = { "newline-terminated comment",ioccrfArgInt}; +static const ioccrfArg commentArg0 = { "newline-terminated comment",ioccrfArgArgv}; static const ioccrfArg *commentArgs[1] = {&commentArg0}; -static const ioccrfFuncDef commentFuncDef = - {"#",1,commentArgs}; +static const ioccrfFuncDef commentFuncDef = {"#",1,commentArgs}; static void commentCallFunc(const ioccrfArgBuf *) { }