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

Side by Side Diff: tools/mac/on_demand_service_tool.ad

Issue 1018023002: Allow man pages to link to each other (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@doc_script
Patch Set: crashpad_handler Created 5 years, 9 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
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 within a bootstrap context. 61 within a bootstrap context.
62 62
63 *--help*:: 63 *--help*::
64 Display help and exit. 64 Display help and exit.
65 65
66 *--version*:: 66 *--version*::
67 Output version information and exit. 67 Output version information and exit.
68 68
69 == Examples 69 == Examples
70 70
71 Registers an on-demand server that will execute catch_exception_tool(1) when a 71 Registers an on-demand server that will execute man_link:catch_exception_tool[1]
72 Mach message is sent to a Mach port obtained from the bootstrap server by 72 when a Mach message is sent to a Mach port obtained from the bootstrap server by
73 looking up the name +svc+: 73 looking up the name +svc+:
74 [subs="quotes"] 74 [subs="quotes"]
75 ---- 75 ----
76 $ *on_demand_service_tool --load --label=catch_exception \ 76 $ *on_demand_service_tool --load --label=catch_exception \
77 --mach-service=svc \ 77 --mach-service=svc \
78 $(which catch_exception_tool) --mach-service=svc \ 78 $(which catch_exception_tool) --mach-service=svc \
79 --file=/tmp/out --persistent --timeout=0* 79 --file=/tmp/out --persistent --timeout=0*
80 ---- 80 ----
81 81
82 Unregisters the on-demand server installed above: 82 Unregisters the on-demand server installed above:
83 [subs="quotes"] 83 [subs="quotes"]
84 ---- 84 ----
85 $ *on_demand_service_tool --unload --label=catch_exception* 85 $ *on_demand_service_tool --unload --label=catch_exception*
86 ---- 86 ----
87 87
88 == Exit Status 88 == Exit Status
89 89
90 *0*:: 90 *0*::
91 Success. 91 Success.
92 92
93 *1*:: 93 *1*::
94 Failure, with a message printed to the standard error stream. 94 Failure, with a message printed to the standard error stream.
95 95
96 == See Also 96 == See Also
97 97
98 exception_port_tool(1), 98 man_link:catch_exception_tool[1],
99 man_link:exception_port_tool[1],
99 launchctl(1) 100 launchctl(1)
100 on_demand_service_tool(1)
101 101
102 include::../../doc/man_footer.ad[] 102 include::../../doc/man_footer.ad[]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698