Renamed "printteam" switch for "traced" command to "--printteam".

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23808 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2008-02-01 12:21:41 +00:00
parent 34aae00fe9
commit a02bbcd455
1 changed files with 3 additions and 3 deletions

View File

@ -716,7 +716,7 @@ dump_tracing(int argc, char** argv)
AbstractTraceEntry::sPrintTeamID = false;
if (argi < argc) {
if (strcmp(argv[argi], "printteam") == 0) {
if (strcmp(argv[argi], "--printteam") == 0) {
AbstractTraceEntry::sPrintTeamID = true;
argi++;
}
@ -1012,7 +1012,7 @@ tracing_init(void)
add_debugger_command_etc("traced", &dump_tracing,
"Dump recorded trace entries",
"[ \"printteam\" ] (\"forward\" | \"backward\") "
"[ \"--printteam\" ] (\"forward\" | \"backward\") "
"| ([ <start> [ <count> [ <range> ] ] ] "
"[ #<pattern> | (\"filter\" <filter>) ])\n"
"Prints recorded trace entries. If \"backward\" or \"forward\" is\n"
@ -1022,7 +1022,7 @@ tracing_init(void)
"afterwards entering an empty line in the debugger will reinvoke it.\n"
"If no arguments are given, the command continues in the direction\n"
"of the last invocation.\n"
"\"printteam\" enables printing the items' team ID.\n"
"\"--printteam\" enables printing the items' team ID.\n"
" <start> - The base index of the entries to print. Depending on\n"
" whether the iteration direction is forward or\n"
" backward this will be the first or last entry printed\n"