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

Unified Diff: runtime/bin/main.cc

Issue 2441553002: Adjust help message. (Closed)
Patch Set: Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/main.cc
diff --git a/runtime/bin/main.cc b/runtime/bin/main.cc
index 4126cbcdda96ae49f7d519f72bba4d257b342205..c953b625dfeba5180a32e44ff605cab9a6622cc0 100644
--- a/runtime/bin/main.cc
+++ b/runtime/bin/main.cc
@@ -963,6 +963,13 @@ static void PrintUsage() {
" --warn-on-pause-with-no-debugger\n"
" This set is subject to change.\n"
" Please see these options (--help --verbose) for further documentation.\n"
+"--snapshot-kind=<snapsot_kind>\n"
+"--snapshot=<file_name>\n"
+" These snapshot options are used to generate a snapshot of the loaded\n"
+" Dart script:\n"
+" <snapshot-kind> controls the kind of snapshot, it could be\n"
+" script(default), app-aot or app-jit\n"
+" <file_name> specifies the file into which the snapshot is written\n"
"--version\n"
" Print the VM version.\n");
} else {
@@ -987,12 +994,16 @@ static void PrintUsage() {
" --warn-on-pause-with-no-debugger\n"
" This set is subject to change.\n"
" Please see these options for further documentation.\n"
+"--snapshot-kind=<snapsot_kind>\n"
+"--snapshot=<file_name>\n"
+" These snapshot options are used to generate a snapshot of the loaded\n"
+" Dart script:\n"
+" <snapshot-kind> controls the kind of snapshot, it could be\n"
+" script(default), app-aot or app-jit\n"
+" <file_name> specifies the file into which the snapshot is written\n"
"--version\n"
" Print the VM version.\n"
"\n"
-"--snapshot=<file_name>\n"
-" loads Dart script and generates a snapshot in the specified file\n"
-"\n"
"--trace-loading\n"
" enables tracing of library and script loading\n"
"\n"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698