Changeset 5204 in orxonox.OLD for trunk/src/lib/shell/shell_input.cc
- Timestamp:
- Sep 18, 2005, 1:37:58 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_input.cc
r5202 r5204 177 177 * prints out some nice help about the Shell 178 178 */ 179 void ShellInput::help() 180 { 181 PRINT(0)("Help for the most important Shell-commands\n"); 182 PRINT(0)("F1 - HELP; F2 - DEBUG; ` - open/close shell\n"); 183 PRINT(0)("input order:\n"); 184 PRINT(0)("ClassName [objectName] function [parameter1, [parameter2 ...]] or\n"); 185 PRINT(0)("Alias [parameter]\n"); 179 void ShellInput::help(const char* className, const char* functionName) 180 { 181 if (strlen(className) == 0) 182 { 183 PRINT(0)("Help for the most important Shell-commands\n"); 184 PRINT(0)("F1 - HELP; F2 - DEBUG; ` - open/close shell\n"); 185 PRINT(0)("input order:\n"); 186 PRINT(0)("ClassName [objectName] function [parameter1, [parameter2 ...]] or\n"); 187 PRINT(0)("Alias [parameter]\n"); 188 PRINT(0)("- Also try 'help className'"); 189 } 190 else if (strlen (className) > 0 && strlen (functionName) == 0) 191 { 192 ShellCommandClass::help(className); 193 //PRINTF(1)("%s::%s\n", className, functionName); 194 } 186 195 } 187 196
Note: See TracChangeset
for help on using the changeset viewer.