Index: pkg/analyzer/lib/src/command_line/arguments.dart |
diff --git a/pkg/analyzer/lib/src/command_line/arguments.dart b/pkg/analyzer/lib/src/command_line/arguments.dart |
index 5ea958eaad61039d80ed01c1b813ad1fd3ed6675..03953d2ffe68270cf3ef6914e068caec7dac65ab 100644 |
--- a/pkg/analyzer/lib/src/command_line/arguments.dart |
+++ b/pkg/analyzer/lib/src/command_line/arguments.dart |
@@ -119,7 +119,7 @@ void defineAnalysisArguments(ArgParser parser, {bool hide: true, ddc: false}) { |
help: 'The path to the Dart SDK summary file.', hide: hide); |
parser.addOption(analysisOptionsFileOption, |
- help: 'Path to an analysis options file.', hide: ddc); |
+ help: 'Path to an analysis options file.'); |
parser.addOption(packageRootOption, |
abbr: 'p', |
@@ -133,16 +133,13 @@ void defineAnalysisArguments(ArgParser parser, {bool hide: true, ddc: false}) { |
parser.addFlag(strongModeFlag, |
help: 'Enable strong static checks (https://goo.gl/DqcBsw)', |
- defaultsTo: ddc, |
- hide: ddc); |
+ defaultsTo: ddc); |
parser.addFlag(noImplicitCastsFlag, |
negatable: false, |
- help: 'Disable implicit casts in strong mode (https://goo.gl/cTLz40)', |
- hide: ddc); |
+ help: 'Disable implicit casts in strong mode (https://goo.gl/cTLz40)'); |
parser.addFlag(noImplicitDynamicFlag, |
negatable: false, |
- help: 'Disable implicit dynamic (https://goo.gl/m0UgXD)', |
- hide: ddc); |
+ help: 'Disable implicit dynamic (https://goo.gl/m0UgXD)'); |
// |
// Hidden flags and options. |
// |
@@ -155,7 +152,7 @@ void defineAnalysisArguments(ArgParser parser, {bool hide: true, ddc: false}) { |
help: 'Fix issue 21938.', |
defaultsTo: false, |
negatable: false, |
- hide: hide || ddc); |
+ hide: hide); |
parser.addFlag(enableInitializingFormalAccessFlag, |
help: |
'Enable support for allowing access to field formal parameters in a ' |
@@ -167,7 +164,7 @@ void defineAnalysisArguments(ArgParser parser, {bool hide: true, ddc: false}) { |
help: 'Relax restrictions on mixins (DEP 34).', |
defaultsTo: false, |
negatable: false, |
- hide: hide || ddc); |
+ hide: hide); |
// parser.addFlag('enable_type_checks', |
// help: 'Check types in constant evaluation.', |
// defaultsTo: false, |