Index: pkg/args/lib/src/options.dart |
diff --git a/pkg/args/lib/src/options.dart b/pkg/args/lib/src/options.dart |
index d78459e9b38809094c611a08f6f941308e5bca77..34dc8d30f39624e4988085e0eedb949023295ba4 100644 |
--- a/pkg/args/lib/src/options.dart |
+++ b/pkg/args/lib/src/options.dart |
@@ -10,15 +10,16 @@ class Option { |
final defaultValue; |
final Function callback; |
final String help; |
+ final String valueHelp; |
final Map<String, String> allowedHelp; |
final bool isFlag; |
final bool negatable; |
final bool allowMultiple; |
final bool hide; |
- Option(this.name, this.abbreviation, this.help, List<String> allowed, |
- Map<String, String> allowedHelp, this.defaultValue, this.callback, |
- {this.isFlag, this.negatable, this.allowMultiple: false, |
+ Option(this.name, this.abbreviation, this.help, this.valueHelp, |
+ List<String> allowed, Map<String, String> allowedHelp, this.defaultValue, |
+ this.callback, {this.isFlag, this.negatable, this.allowMultiple: false, |
this.hide: false}) : |
this.allowed = allowed == null ? |
null : new UnmodifiableListView(allowed), |