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

Side by Side Diff: runtime/bin/main.cc

Issue 14281003: Fix the help message printed by standalone dart (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include <stdlib.h> 5 #include <stdlib.h>
6 #include <string.h> 6 #include <string.h>
7 #include <stdio.h> 7 #include <stdio.h>
8 8
9 #include "include/dart_api.h" 9 #include "include/dart_api.h"
10 #include "include/dart_debugger_api.h" 10 #include "include/dart_debugger_api.h"
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 "\n" 545 "\n"
546 "--debug[:<port number>]\n" 546 "--debug[:<port number>]\n"
547 " enables debugging and listens on specified port for debugger connections\n" 547 " enables debugging and listens on specified port for debugger connections\n"
548 " (default port number is 5858)\n" 548 " (default port number is 5858)\n"
549 "\n" 549 "\n"
550 "--break_at=<location>\n" 550 "--break_at=<location>\n"
551 " sets a breakpoint at specified location where <location> is one of :\n" 551 " sets a breakpoint at specified location where <location> is one of :\n"
552 " url:<line_num> e.g. test.dart:10\n" 552 " url:<line_num> e.g. test.dart:10\n"
553 " [<class_name>.]<function_name> e.g. B.foo\n" 553 " [<class_name>.]<function_name> e.g. B.foo\n"
554 "\n" 554 "\n"
555 "--use-script-snapshot=<file_name>\n"
556 " executes Dart script present in the specified snapshot file\n"
557 "\n"
558 "--generate-script-snapshot=<file_name>\n" 555 "--generate-script-snapshot=<file_name>\n"
559 " loads Dart script and generates a snapshot in the specified file\n" 556 " loads Dart script and generates a snapshot in the specified file\n"
560 "\n" 557 "\n"
561 "--print-source\n" 558 "--print-script\n"
562 " generates Dart source code back and prints it after parsing a Dart script\n" 559 " generates Dart source code back and prints it after parsing a Dart script\n"
563 "\n" 560 "\n"
564 "--stats[:<port number>]\n" 561 "--stats[:<port number>]\n"
565 " enables VM stats service and listens on specified port for HTTP requests\n" 562 " enables VM stats service and listens on specified port for HTTP requests\n"
566 " (default port number is dynamically assigned)\n" 563 " (default port number is dynamically assigned)\n"
567 "\n" 564 "\n"
568 "--stats-root=<path>\n" 565 "--stats-root=<path>\n"
569 " where to find static files used by the vmstats application\n" 566 " where to find static files used by the vmstats application\n"
570 " (used during vmstats plug-in development)\n" 567 " (used during vmstats plug-in development)\n"
571 "\n" 568 "\n"
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
840 Dart_ShutdownIsolate(); 837 Dart_ShutdownIsolate();
841 // Terminate process exit-code handler. 838 // Terminate process exit-code handler.
842 Process::TerminateExitCodeHandler(); 839 Process::TerminateExitCodeHandler();
843 // Free copied argument strings if converted. 840 // Free copied argument strings if converted.
844 if (argv_converted) { 841 if (argv_converted) {
845 for (int i = 0; i < argc; i++) free(argv[i]); 842 for (int i = 0; i < argc; i++) free(argv[i]);
846 } 843 }
847 844
848 return Process::GlobalExitCode(); 845 return Process::GlobalExitCode();
849 } 846 }
OLDNEW
« 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