Fixed the help lines of filetransfer to match all other modules.

git-svn-id: http://yate.null.ro/svn/yate/trunk@5171 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2012-07-02 11:57:25 +00:00
parent 186e26d218
commit cf70c17e74

View file

@ -286,7 +286,7 @@ static const char* s_cmds[] = {
0
};
// Command line
static const char* s_cmdsLine = "filetransfer {{send|receive} filename [callto:]target [[paramname=value]...]}";
static const char* s_cmdsLine = " filetransfer {{send|receive} filename [callto:]target [[paramname=value]...]}";
UNLOAD_PLUGIN(unloadNow)
@ -1041,13 +1041,13 @@ bool FileDriver::received(Message& msg, int id)
if (id == Help) {
String line = msg.getValue("line");
if (line.null()) {
msg.retValue() << " " << s_cmdsLine << "\r\n";
msg.retValue() << s_cmdsLine << "\r\n";
return false;
}
if (line != name())
return false;
msg.retValue() << "Commands used to control the File Transfer module\r\n";
msg.retValue() << s_cmdsLine << "\r\n";
msg.retValue() << "Commands used to control the File Transfer module\r\n";
return true;
}
if (id == Status) {