- Timestamp:
- Jul 31, 2011, 5:15:13 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/libraries/core/command/CommandExecutor.cc
r7401 r8806 261 261 if ((tokens.size() == 1 && ConsoleCommand::getCommand(tokens[0])) || (tokens.size() == 2 && ConsoleCommand::getCommand(tokens[0], tokens[1]))) 262 262 { 263 COUT(1) << "Error: A command with name \"" << alias << "\" already exists." << std::endl;263 orxout(user_error) << "A command with name \"" << alias << "\" already exists." << endl; 264 264 return; 265 265 } … … 271 271 createConsoleCommand(tokens[0], tokens[1], executor); 272 272 else 273 COUT(1) << "Error: \"" << alias << "\" is not a valid alias name (must have one or two words)." << std::endl;273 orxout(user_error) << "\"" << alias << "\" is not a valid alias name (must have one or two words)." << endl; 274 274 } 275 275 else 276 COUT(1) << "Error: \"" << command << "\" is not a valid command (did you mean \"" << evaluation.getCommandSuggestion() << "\"?)." << std::endl;276 orxout(user_error) << "\"" << command << "\" is not a valid command (did you mean \"" << evaluation.getCommandSuggestion() << "\"?)." << endl; 277 277 } 278 278 }
Note: See TracChangeset
for help on using the changeset viewer.