Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: tools/exception_port_tool.cc

Issue 664553004: Add tool man pages in asciidoc format (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Rename .txt to .ad Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/exception_port_tool.ad ('k') | tools/man_footer.ad » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Crashpad Authors. All rights reserved. 1 // Copyright 2014 The Crashpad Authors. All rights reserved.
2 // 2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); 3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License. 4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at 5 // You may obtain a copy of the License at
6 // 6 //
7 // http://www.apache.org/licenses/LICENSE-2.0 7 // http://www.apache.org/licenses/LICENSE-2.0
8 // 8 //
9 // Unless required by applicable law or agreed to in writing, software 9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, 10 // distributed under the License is distributed on an "AS IS" BASIS,
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 " -T, --show_new_task display modified task exception ports\n" 327 " -T, --show_new_task display modified task exception ports\n"
328 " --show_new_thread display modified thread exception ports\n" 328 " --show_new_thread display modified thread exception ports\n"
329 " -n, --numeric display values numerically, not symbolically\n " 329 " -n, --numeric display values numerically, not symbolically\n "
330 " --help display this help and exit\n" 330 " --help display this help and exit\n"
331 " --version output version information and exit\n" 331 " --version output version information and exit\n"
332 "\n" 332 "\n"
333 "Any operations on host exception ports require superuser permissions.\n" 333 "Any operations on host exception ports require superuser permissions.\n"
334 "\n" 334 "\n"
335 "DESCRIPTION is formatted as a comma-separated sequence of tokens, where each\n" 335 "DESCRIPTION is formatted as a comma-separated sequence of tokens, where each\n"
336 "token consists of a key and value separated by an equals sign. Available keys:\ n" 336 "token consists of a key and value separated by an equals sign. Available keys:\ n"
337 " target which target's exception ports to set: host, task, or target\n" 337 " target which target's exception ports to set: host, task, or thread\n"
338 " mask the mask of exception types to handle: CRASH, ALL, or others\n" 338 " mask the mask of exception types to handle: CRASH, ALL, or others\n"
339 " behavior the specific exception handler routine to call: DEFAULT, STATE,\n" 339 " behavior the specific exception handler routine to call: DEFAULT, STATE,\n"
340 " or STATE_IDENTITY, possibly with MACH_EXCEPTION_CODES.\n" 340 " or STATE_IDENTITY, possibly with MACH_EXCEPTION_CODES.\n"
341 " flavor the thread state flavor passed to the handler: architecture-specifi c\n" 341 " flavor the thread state flavor passed to the handler: architecture-specifi c\n"
342 " handler the exception handler: NULL or bootstrap:SERVICE, indicating that\n " 342 " handler the exception handler: NULL or bootstrap:SERVICE, indicating that\n "
343 " the handler should be looked up with the bootstrap server\n" 343 " the handler should be looked up with the bootstrap server\n"
344 "The default DESCRIPTION is\n" 344 "The default DESCRIPTION is\n"
345 " target=task,mask=CRASH,behavior=DEFAULT|MACH,flavor=NONE,handler=NULL\n", 345 " target=task,mask=CRASH,behavior=DEFAULT|MACH,flavor=NONE,handler=NULL\n",
346 me.c_str()); 346 me.c_str());
347 ToolSupport::UsageTail(me); 347 ToolSupport::UsageTail(me);
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 584
585 return kExitSuccess; 585 return kExitSuccess;
586 } 586 }
587 587
588 } // namespace 588 } // namespace
589 } // namespace crashpad 589 } // namespace crashpad
590 590
591 int main(int argc, char* argv[]) { 591 int main(int argc, char* argv[]) {
592 return crashpad::ExceptionPortToolMain(argc, argv); 592 return crashpad::ExceptionPortToolMain(argc, argv);
593 } 593 }
OLDNEW
« no previous file with comments | « tools/exception_port_tool.ad ('k') | tools/man_footer.ad » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698