add docs for -h -v
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user