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:
parent
186e26d218
commit
cf70c17e74
1 changed files with 3 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue