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

Unified Diff: lib/src/help_command.dart

Issue 1748333005: Make it strong mode clean. (Closed) Base URL: https://github.com/dart-lang/args.git@master
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: lib/src/help_command.dart
diff --git a/lib/src/help_command.dart b/lib/src/help_command.dart
index 9ffcbe17cabf54b7d7c67706ce6cc1258d52715c..085e444ceb46018d69988d175a7c092c50a7ba86 100644
--- a/lib/src/help_command.dart
+++ b/lib/src/help_command.dart
@@ -23,7 +23,7 @@ class HelpCommand extends Command {
// Walk the command tree to show help for the selected command or
// subcommand.
var commands = runner.commands;
- var command = null;
+ Command command;
var commandString = runner.executableName;
for (var name in argResults.rest) {

Powered by Google App Engine
This is Rietveld 408576698