| Index: pkg/args/args.dart
|
| diff --git a/pkg/args/args.dart b/pkg/args/args.dart
|
| index f49c3bc917b84322eee0bec5cc48128bbccd8117..5268f5090164f6e86db3251e289ada6a7e9ddb55 100644
|
| --- a/pkg/args/args.dart
|
| +++ b/pkg/args/args.dart
|
| @@ -180,6 +180,8 @@
|
| */
|
| #library('args');
|
|
|
| +#import('dart:math');
|
| +
|
| #import('utils.dart');
|
|
|
| /**
|
| @@ -672,15 +674,15 @@ class _Usage {
|
| var option = args._options[name];
|
|
|
| // Make room in the first column if there are abbreviations.
|
| - abbr = Math.max(abbr, getAbbreviation(option).length);
|
| + abbr = max(abbr, getAbbreviation(option).length);
|
|
|
| // Make room for the option.
|
| - title = Math.max(title, getLongOption(option).length);
|
| + title = max(title, getLongOption(option).length);
|
|
|
| // Make room for the allowed help.
|
| if (option.allowedHelp != null) {
|
| for (var allowed in option.allowedHelp.getKeys()) {
|
| - title = Math.max(title, getAllowedTitle(allowed).length);
|
| + title = max(title, getAllowedTitle(allowed).length);
|
| }
|
| }
|
| }
|
|
|