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