Add some support for CPU profiling
This commit is contained in:
@@ -86,6 +86,10 @@ void LuaConsole::simplify(const StringVec &words) {
|
||||
if (words.size() != 1) {
|
||||
synerr("/cpl takes no arguments");
|
||||
}
|
||||
} else if (words[0] == "work") {
|
||||
if (words.size() != 1) {
|
||||
synerr("/work takes no arguments");
|
||||
}
|
||||
} else {
|
||||
synerr("unrecognized command");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user