Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(632)

Unified Diff: pkg/dev_compiler/lib/src/compiler/module_builder.dart

Issue 2569783003: add verbose option to show hidden args (Closed)
Patch Set: merge Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/dev_compiler/lib/src/compiler/compiler.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dev_compiler/lib/src/compiler/module_builder.dart
diff --git a/pkg/dev_compiler/lib/src/compiler/module_builder.dart b/pkg/dev_compiler/lib/src/compiler/module_builder.dart
index 0fd990c743b4111ede03e4f0e5614e85ea9bd811..d321bd0181f2e4b2bf87824f99debd6e3aa475a8 100644
--- a/pkg/dev_compiler/lib/src/compiler/module_builder.dart
+++ b/pkg/dev_compiler/lib/src/compiler/module_builder.dart
@@ -45,7 +45,8 @@ List<ModuleFormat> parseModuleFormatOption(ArgResults argResults) {
/// Adds an option to the [argParser] for choosing the module format, optionally
/// [allowMultiple] formats to be specified, with each emitted into a separate
/// file.
-void addModuleFormatOptions(ArgParser argParser, {bool allowMultiple: false}) {
+void addModuleFormatOptions(ArgParser argParser,
+ {bool allowMultiple: false, bool hide: true}) {
argParser
..addOption('modules',
help: 'module pattern to emit',
@@ -68,7 +69,7 @@ void addModuleFormatOptions(ArgParser argParser, {bool allowMultiple: false}) {
help: 'emit modules that can be concatenated into one file.\n'
'Only compatible with legacy and amd module formats.',
defaultsTo: false,
- hide: true);
+ hide: hide);
}
/// Transforms an ES6 [module] into a given module [format].
« no previous file with comments | « pkg/dev_compiler/lib/src/compiler/compiler.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698