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

Unified Diff: tools/on_demand_service_tool.mm

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/on_demand_service_tool.ad ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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},
« no previous file with comments | « tools/on_demand_service_tool.ad ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698