Index: tools/on_demand_service_tool.mm |
diff --git a/tools/on_demand_service_tool.mm b/tools/on_demand_service_tool.mm |
index ce4ba0fe929084f00ab1fc6a7894605f9690199a..0b22cbd11fa30568d02846c32cce64ce9264e88b 100644 |
--- a/tools/on_demand_service_tool.mm |
+++ b/tools/on_demand_service_tool.mm |
@@ -43,7 +43,7 @@ void Usage(const std::string& me) { |
" COMMAND must be specified\n" |
" -U, --unload unload (remove) the job identified by --label\n" |
" -l, --label=LABEL identify the job to launchd with LABEL\n" |
-" -m, --mach_service=SERVICE register SERVICE with the bootstrap server\n" |
+" -m, --mach-service=SERVICE register SERVICE with the bootstrap server\n" |
" --help display this help and exit\n" |
" --version output version information and exit\n", |
me.c_str(), |
@@ -85,7 +85,7 @@ int OnDemandServiceToolMain(int argc, char* argv[]) { |
{"load", no_argument, nullptr, kOptionLoadJob}, |
{"unload", no_argument, nullptr, kOptionUnloadJob}, |
{"label", required_argument, nullptr, kOptionJobLabel}, |
- {"mach_service", required_argument, nullptr, kOptionMachService}, |
+ {"mach-service", required_argument, nullptr, kOptionMachService}, |
{"help", no_argument, nullptr, kOptionHelp}, |
{"version", no_argument, nullptr, kOptionVersion}, |
{nullptr, 0, nullptr, 0}, |