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

Unified Diff: utils/pub/command_help.dart

Issue 11472016: Revert "Add logging system to pub and sprinkle some logging in." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | « pkg/http/test/request_test.dart ('k') | utils/pub/command_install.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/command_help.dart
diff --git a/utils/pub/command_help.dart b/utils/pub/command_help.dart
index 1484b7b06d4ecd84dbd1737bea060320accda710..7681f3744f2f7fddb3dcbfedcf1ad469912621aa 100644
--- a/utils/pub/command_help.dart
+++ b/utils/pub/command_help.dart
@@ -7,7 +7,6 @@ library command_help;
import 'dart:io' as io;
import 'exit_codes.dart' as exit_codes;
import 'io.dart';
-import 'log.dart' as log;
import 'pub.dart';
/** Handles the `help` pub command. */
@@ -23,8 +22,8 @@ class HelpCommand extends PubCommand {
var name = commandOptions.rest[0];
var command = pubCommands[name];
if (command == null) {
- log.error('Could not find a command named "$name".');
- log.error('Run "pub help" to see available commands.');
+ printError('Could not find a command named "$name".');
+ printError('Run "pub help" to see available commands.');
io.exit(exit_codes.USAGE);
}
« no previous file with comments | « pkg/http/test/request_test.dart ('k') | utils/pub/command_install.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698