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

Unified Diff: pkg/args/lib/command_runner.dart

Issue 812743002: Fix the built-in help command in args. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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/args/CHANGELOG.md ('k') | pkg/args/lib/src/help_command.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/args/lib/command_runner.dart
diff --git a/pkg/args/lib/command_runner.dart b/pkg/args/lib/command_runner.dart
index f2c22c137d31d6c997991c4cb25c8ffb66f0e58e..bbc19b2e8ee0c85ebd81665fe098d0d2efaffd07 100644
--- a/pkg/args/lib/command_runner.dart
+++ b/pkg/args/lib/command_runner.dart
@@ -157,7 +157,6 @@ Run "$executableName help <command>" for more information about a command.''';
}
// Step into the command.
- var parent = command;
argResults = argResults.command;
command = commands[argResults.name];
command._globalResults = topLevelResults;
« no previous file with comments | « pkg/args/CHANGELOG.md ('k') | pkg/args/lib/src/help_command.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698