void CmdEval::handleReply(DebuggerClient &client) { if (this->failed() && client.unknownCmdReceived()) { client.help( "Notice: Attempted to interpret unknown debugger command as PHP!\n"); } if (!m_output.empty()) client.print(m_output); }
void CmdShell::help(DebuggerClient &client) { client.helpTitle("Shell Command"); client.help("! {cmd} {arg1} {arg2} ... remotely executes shell command"); client.helpBody( "Executes the shell command on connected machine.\n" "\n" "The space between ! and command is not needed. '!ls' works as well." ); }
void CmdComplete::help(DebuggerClient &client) { client.helpTitle("Complete"); client.help("complete <cmd>"); client.helpBody( "This command provides the same results as TAB completion does on the" " command line, but bypasses the complexity of interacting with the" " readline library. This help is primarily for use by programs that" " need to access completion functionality." ); }