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

Unified Diff: tools/on_demand_service_tool.ad

Issue 774763006: tools: Use hyphens instead of underscores for multi-word option names (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/generate_dump.cc ('k') | tools/on_demand_service_tool.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/on_demand_service_tool.ad
diff --git a/tools/on_demand_service_tool.ad b/tools/on_demand_service_tool.ad
index 23e2bc21f97a1573fbef42958bf447f79191ec17..11f4984168e479040efeb2bfdebddfd118734ddf 100644
--- a/tools/on_demand_service_tool.ad
+++ b/tools/on_demand_service_tool.ad
@@ -31,7 +31,7 @@ launchd(8)
On-demand services may be registered with launchd(8) by using the *--load* form.
One or more service names may be registered with the bootstrap server by
-specifying *--mach_service*. When a Mach message is sent to any of these
+specifying *--mach-service*. When a Mach message is sent to any of these
services, launchd(8) will invoke 'COMMAND' along with any arguments specified
('ARG…'). 'COMMAND' must be an absolute pathname.
@@ -51,7 +51,7 @@ may also be referred to as “unload” or “remove”.
'LABEL' is used as the job label to identify the job to launchd(8). 'LABEL' must
be unique within a launchd(8) context.
-*-m*, *--mach_service*='SERVICE'::
+*-m*, *--mach-service*='SERVICE'::
In conjunction with *--load*, registers 'SERVICE' with the bootstrap server.
Clients will be able to obtain a send right by looking up the 'SERVICE' name
with the bootstrap server. When a message is sent to such a Mach port,
@@ -74,8 +74,8 @@ looking up the name +svc+:
[subs="quotes"]
----
$ *on_demand_service_tool --load --label=catch_exception \
- --mach_service=svc \
- $(which catch_exception_tool) --mach_service=svc \
+ --mach-service=svc \
+ $(which catch_exception_tool) --mach-service=svc \
--file=/tmp/out --nonblocking --persistent*
----
« no previous file with comments | « tools/generate_dump.cc ('k') | tools/on_demand_service_tool.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698