Apply formating to all files. CLeanup
This commit is contained in:
parent
b4ae5dde77
commit
91fb72bd49
928 changed files with 14515 additions and 21479 deletions
|
|
@ -38,14 +38,11 @@ void CmdLineInterpreter::help(const CommandLine& args) const {
|
|||
}
|
||||
|
||||
CmdLineInterpreter::CmdLineInterpreter() {
|
||||
auto helpArgs = new CommandLine{
|
||||
{ "CommandName", "_none_" }
|
||||
};
|
||||
auto helpArgs = new CommandLine{ { "CommandName", "_none_" } };
|
||||
|
||||
addCommand("help", helpArgs, (CommandFunction) helpFunction, this);
|
||||
}
|
||||
|
||||
|
||||
void CmdLineInterpreter::addCommand(const String& id, CommandLine* args, CommandFunction function, void* customData) {
|
||||
ASSERT(!mCommands.presents(id))
|
||||
mCommands.put(id, { args, function, customData });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue