Commit 4200378d authored by Devon Carew's avatar Devon Carew

add docs for -h -v

parent 421cd7c2
...@@ -12,8 +12,7 @@ import 'start.dart'; ...@@ -12,8 +12,7 @@ import 'start.dart';
class ListenCommand extends StartCommandBase { class ListenCommand extends StartCommandBase {
final String name = 'listen'; final String name = 'listen';
final String description = final String description =
'Listen for changes to files and reload the running app on all connected devices ' 'Listen for changes to files and reload the running app (Android only).';
'(Android only).';
final String usageFooter = final String usageFooter =
'By default, only listens to "./" and "./lib/". To listen to additional directories, list them on\n' 'By default, only listens to "./" and "./lib/". To listen to additional directories, list them on\n'
'the command line.'; 'the command line.';
......
...@@ -45,8 +45,8 @@ class FlutterCommandRunner extends CommandRunner { ...@@ -45,8 +45,8 @@ class FlutterCommandRunner extends CommandRunner {
argParser.addOption('package-root', argParser.addOption('package-root',
help: 'Path to your packages directory.$packagesHelp'); help: 'Path to your packages directory.$packagesHelp');
argParser.addOption('flutter-root', argParser.addOption('flutter-root',
help: 'The root directory of the Flutter repository. Defaults to \$$kFlutterRootEnvironmentVariableName if set,\n' help: 'The root directory of the Flutter repository. Defaults to \$$kFlutterRootEnvironmentVariableName if\n'
'otherwise defaults to a value derived from the location of this tool.', defaultsTo: _defaultFlutterRoot); 'set, otherwise defaults to a value derived from the location of this tool.', defaultsTo: _defaultFlutterRoot);
if (verboseHelp) if (verboseHelp)
argParser.addSeparator('Local build selection options (not normally required):'); argParser.addSeparator('Local build selection options (not normally required):');
...@@ -120,6 +120,8 @@ class FlutterCommandRunner extends CommandRunner { ...@@ -120,6 +120,8 @@ class FlutterCommandRunner extends CommandRunner {
defaultsTo: 'out/ios_sim_Release/'); defaultsTo: 'out/ios_sim_Release/');
} }
final String usageFooter = 'Run "flutter -h -v" for verbose help output, including less commonly used options.';
List<BuildConfiguration> get buildConfigurations { List<BuildConfiguration> get buildConfigurations {
if (_buildConfigurations == null) if (_buildConfigurations == null)
_buildConfigurations = _createBuildConfigurations(_globalResults); _buildConfigurations = _createBuildConfigurations(_globalResults);
......
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