Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
31acb3f1
Commit
31acb3f1
authored
Feb 03, 2016
by
Devon Carew
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1559 from devoncarew/more_help
add docs for -h -v
parents
d92f3815
4200378d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
listen.dart
packages/flutter_tools/lib/src/commands/listen.dart
+1
-2
flutter_command_runner.dart
.../flutter_tools/lib/src/runner/flutter_command_runner.dart
+4
-2
No files found.
packages/flutter_tools/lib/src/commands/listen.dart
View file @
31acb3f1
...
@@ -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.'
;
...
...
packages/flutter_tools/lib/src/runner/flutter_command_runner.dart
View file @
31acb3f1
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment