Commit 31acb3f1 authored by Devon Carew's avatar Devon Carew

Merge pull request #1559 from devoncarew/more_help

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