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

Unified Diff: tools/generate_dump.cc

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.ad ('k') | tools/on_demand_service_tool.ad » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/generate_dump.cc
diff --git a/tools/generate_dump.cc b/tools/generate_dump.cc
index 5482c7f90856d2932683d038d9b8dcd308f045b5..c94aa983f7c76480b45c0938fd79ccccbd1b0367 100644
--- a/tools/generate_dump.cc
+++ b/tools/generate_dump.cc
@@ -49,7 +49,7 @@ void Usage(const std::string& me) {
"Usage: %s [OPTION]... PID\n"
"Generate a minidump file containing a snapshot of a running process.\n"
"\n"
-" -r, --no_suspend don't suspend the target process during dump generation\n"
+" -r, --no-suspend don't suspend the target process during dump generation\n"
" -o, --output=FILE write the minidump to FILE instead of minidump.PID\n"
" --help display this help and exit\n"
" --version output version information and exit\n",
@@ -77,7 +77,7 @@ int GenerateDumpMain(int argc, char* argv[]) {
options.suspend = true;
const struct option long_options[] = {
- {"no_suspend", no_argument, nullptr, kOptionNoSuspend},
+ {"no-suspend", no_argument, nullptr, kOptionNoSuspend},
{"output", required_argument, nullptr, kOptionOutput},
{"help", no_argument, nullptr, kOptionHelp},
{"version", no_argument, nullptr, kOptionVersion},
« no previous file with comments | « tools/generate_dump.ad ('k') | tools/on_demand_service_tool.ad » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698