added function to read depreciated commands

This commit is contained in:
Erik Frojdh
2020-10-30 11:50:42 +01:00
parent d93fd4c655
commit 139db216fe
3 changed files with 11 additions and 0 deletions

View File

@ -74,6 +74,10 @@ std::vector<std::string> CmdProxy::GetProxyCommands() {
return commands;
}
std::map<std::string, std::string> CmdProxy::GetDepreciatedCommands(){
return depreciated_functions;
}
void CmdProxy::WrongNumberOfParameters(size_t expected) {
throw RuntimeError(
"Command " + cmd + " expected <=" + std::to_string(expected) +