Index: sdk/lib/_internal/dartdoc/bin/dartdoc.dart |
diff --git a/sdk/lib/_internal/dartdoc/bin/dartdoc.dart b/sdk/lib/_internal/dartdoc/bin/dartdoc.dart |
index 72c5c327b3d45956beacd410e5ceeab8fab445e9..a5e6324eb5ab4759a0817e3588e1aa2948e755f0 100644 |
--- a/sdk/lib/_internal/dartdoc/bin/dartdoc.dart |
+++ b/sdk/lib/_internal/dartdoc/bin/dartdoc.dart |
@@ -27,20 +27,10 @@ import 'package:path/path.dart' as path; |
/** |
* Run this from the `lib/_internal/dartdoc` directory. |
*/ |
-main() { |
- mainWithOptions(new Options()); |
-} |
- |
-/** |
- * We use this to include dartdoc in a single snapshot with dart2js. |
- * (They share 90% of the code) |
- */ |
-mainWithOptions(Options options) { |
+main(List<String> args) { |
// Need this because ArgParser.getUsage doesn't show command invocation. |
final USAGE = 'Usage dartdoc [options] <entrypoint(s)>\n[options] include:'; |
- final args = options.arguments; |
- |
final dartdoc = new Dartdoc(); |
final argParser = new ArgParser(); |