diff --git a/packages/flutter_tools/lib/src/runner/flutter_command.dart b/packages/flutter_tools/lib/src/runner/flutter_command.dart index a58176558848..20bd201c3acc 100644 --- a/packages/flutter_tools/lib/src/runner/flutter_command.dart +++ b/packages/flutter_tools/lib/src/runner/flutter_command.dart @@ -1519,7 +1519,7 @@ abstract class FlutterCommand extends Command { ApplicationPackageFactory? applicationPackages; /// Gets the parsed command-line option named [name] as a `bool`. - /// This has been deprecated, use [boolArgDeprecated] instead. + /// This has been deprecated, use [boolArg] instead. bool boolArgDeprecated(String name) => argResults?[name] as bool? ?? false; /// Gets the parsed command-line option named [name] as a `bool?`.