OLD | NEW |
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_tools_api.h" | 10 #include "include/dart_tools_api.h" |
(...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
875 " Where to find packages, that is, \"package:...\" imports.\n" | 875 " Where to find packages, that is, \"package:...\" imports.\n" |
876 "--packages=<path>\n" | 876 "--packages=<path>\n" |
877 " Where to find a package spec file.\n" | 877 " Where to find a package spec file.\n" |
878 "--observe[=<port>[/<bind-address>]]\n" | 878 "--observe[=<port>[/<bind-address>]]\n" |
879 " Enable the VM service and cause isolates to pause on exit (default port is\n" | 879 " Enable the VM service and cause isolates to pause on exit (default port is\n" |
880 " 8181, default bind address is 127.0.0.1). With the default options,\n" | 880 " 8181, default bind address is 127.0.0.1). With the default options,\n" |
881 " Observatory will be available locally at http://127.0.0.1:8181/\n" | 881 " Observatory will be available locally at http://127.0.0.1:8181/\n" |
882 "--version\n" | 882 "--version\n" |
883 " Print the VM version.\n" | 883 " Print the VM version.\n" |
884 "\n" | 884 "\n" |
885 "--debug[:<port number>]\n" | |
886 " enables debugging and listens on specified port for debugger connections\n" | |
887 " (default port number is 5858)\n" | |
888 "\n" | |
889 "--break-at=<location>\n" | |
890 " sets a breakpoint at specified location where <location> is one of :\n" | |
891 " url:<line_num> e.g. test.dart:10\n" | |
892 " [<class_name>.]<function_name> e.g. B.foo\n" | |
893 "\n" | |
894 "--snapshot=<file_name>\n" | 885 "--snapshot=<file_name>\n" |
895 " loads Dart script and generates a snapshot in the specified file\n" | 886 " loads Dart script and generates a snapshot in the specified file\n" |
896 "\n" | 887 "\n" |
897 "--trace-loading\n" | 888 "--trace-loading\n" |
898 " enables tracing of library and script loading\n" | 889 " enables tracing of library and script loading\n" |
899 "\n" | 890 "\n" |
900 "--enable-vm-service[:<port number>]\n" | 891 "--enable-vm-service[:<port number>]\n" |
901 " enables the VM service and listens on specified port for connections\n" | 892 " enables the VM service and listens on specified port for connections\n" |
902 " (default port number is 8181)\n" | 893 " (default port number is 8181)\n" |
903 "\n" | 894 "\n" |
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1428 Platform::Exit(Process::GlobalExitCode()); | 1419 Platform::Exit(Process::GlobalExitCode()); |
1429 } | 1420 } |
1430 | 1421 |
1431 } // namespace bin | 1422 } // namespace bin |
1432 } // namespace dart | 1423 } // namespace dart |
1433 | 1424 |
1434 int main(int argc, char** argv) { | 1425 int main(int argc, char** argv) { |
1435 dart::bin::main(argc, argv); | 1426 dart::bin::main(argc, argv); |
1436 UNREACHABLE(); | 1427 UNREACHABLE(); |
1437 } | 1428 } |
OLD | NEW |