Unverified Commit b8397f69 authored by Tim Sneath's avatar Tim Sneath Committed by GitHub

Improve consistency of top-level help text (#66748)

parent eca0cf38
...@@ -114,7 +114,7 @@ class AssembleCommand extends FlutterCommand { ...@@ -114,7 +114,7 @@ class AssembleCommand extends FlutterCommand {
} }
@override @override
String get description => 'Assemble and build flutter resources.'; String get description => 'Assemble and build Flutter resources.';
@override @override
String get name => 'assemble'; String get name => 'assemble';
......
...@@ -77,7 +77,7 @@ class AttachCommand extends FlutterCommand { ...@@ -77,7 +77,7 @@ class AttachCommand extends FlutterCommand {
help: 'The URI at which the observatory is listening.', help: 'The URI at which the observatory is listening.',
)..addOption( )..addOption(
'app-id', 'app-id',
help: 'The package name (Android) or bundle identifier (iOS) for the application. ' help: 'The package name (Android) or bundle identifier (iOS) for the app. '
'This can be specified to avoid being prompted if multiple observatory ports ' 'This can be specified to avoid being prompted if multiple observatory ports '
'are advertised.\n' 'are advertised.\n'
'If you have multiple devices or emulators running, you should include the ' 'If you have multiple devices or emulators running, you should include the '
...@@ -110,7 +110,7 @@ class AttachCommand extends FlutterCommand { ...@@ -110,7 +110,7 @@ class AttachCommand extends FlutterCommand {
final String name = 'attach'; final String name = 'attach';
@override @override
final String description = '''Attach to a running application. final String description = '''Attach to a running app.
For attaching to Android or iOS devices, simply using `flutter attach` is For attaching to Android or iOS devices, simply using `flutter attach` is
usually sufficient. The tool will search for a running Flutter app or module, usually sufficient. The tool will search for a running Flutter app or module,
......
...@@ -40,7 +40,7 @@ class BuildCommand extends FlutterCommand { ...@@ -40,7 +40,7 @@ class BuildCommand extends FlutterCommand {
final String name = 'build'; final String name = 'build';
@override @override
final String description = 'Flutter build commands.'; final String description = 'Build an executable app or install bundle.';
@override @override
Future<FlutterCommandResult> runCommand() async => null; Future<FlutterCommandResult> runCommand() async => null;
......
...@@ -24,7 +24,7 @@ class ChannelCommand extends FlutterCommand { ...@@ -24,7 +24,7 @@ class ChannelCommand extends FlutterCommand {
final String name = 'channel'; final String name = 'channel';
@override @override
final String description = 'List or switch flutter channels.'; final String description = 'List or switch Flutter channels.';
@override @override
String get invocation => '${runner.executableName} $name [<channel-name>]'; String get invocation => '${runner.executableName} $name [<channel-name>]';
......
...@@ -130,7 +130,7 @@ class DriveCommand extends RunCommandBase { ...@@ -130,7 +130,7 @@ class DriveCommand extends RunCommandBase {
final String name = 'drive'; final String name = 'drive';
@override @override
final String description = 'Runs Flutter Driver tests for the current project.'; final String description = 'Run integration tests for the project on an attached device or emulator.';
@override @override
final List<String> aliases = <String>['driver']; final List<String> aliases = <String>['driver'];
......
...@@ -41,7 +41,7 @@ class FormatCommand extends FlutterCommand { ...@@ -41,7 +41,7 @@ class FormatCommand extends FlutterCommand {
List<String> get aliases => const <String>['dartfmt']; List<String> get aliases => const <String>['dartfmt'];
@override @override
final String description = 'Format one or more dart files.'; final String description = 'Format one or more Dart files.';
@override @override
String get invocation => '${runner.executableName} $name <one or more paths>'; String get invocation => '${runner.executableName} $name <one or more paths>';
......
...@@ -155,7 +155,7 @@ class GenerateLocalizationsCommand extends FlutterCommand { ...@@ -155,7 +155,7 @@ class GenerateLocalizationsCommand extends FlutterCommand {
final FileSystem _fileSystem; final FileSystem _fileSystem;
@override @override
String get description => 'Generate localizations for the Flutter project.'; String get description => 'Generate localizations for the current project.';
@override @override
String get name => 'gen-l10n'; String get name => 'gen-l10n';
......
...@@ -69,7 +69,7 @@ class PrecacheCommand extends FlutterCommand { ...@@ -69,7 +69,7 @@ class PrecacheCommand extends FlutterCommand {
final String name = 'precache'; final String name = 'precache';
@override @override
final String description = "Populates the Flutter tool's cache of binary artifacts."; final String description = "Populate the Flutter tool's cache of binary artifacts.";
@override @override
bool get shouldUpdateCache => false; bool get shouldUpdateCache => false;
......
...@@ -52,7 +52,7 @@ class SymbolizeCommand extends FlutterCommand { ...@@ -52,7 +52,7 @@ class SymbolizeCommand extends FlutterCommand {
final DwarfSymbolizationService _dwarfSymbolizationService; final DwarfSymbolizationService _dwarfSymbolizationService;
@override @override
String get description => 'Symbolize a stack trace from an AOT compiled flutter application.'; String get description => 'Symbolize a stack trace from an AOT-compiled Flutter app.';
@override @override
String get name => 'symbolize'; String get name => 'symbolize';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment