Chromium Code Reviews| Index: pkg/args/lib/src/usage.dart |
| diff --git a/pkg/args/lib/src/usage.dart b/pkg/args/lib/src/usage.dart |
| index c3dd68eaab59d3b33170e04280ec270f49c9c0d4..d77151d92c1f16588b5be3c6d08a342f48dedc23 100644 |
| --- a/pkg/args/lib/src/usage.dart |
| +++ b/pkg/args/lib/src/usage.dart |
| @@ -67,6 +67,8 @@ class Usage { |
| calculateColumnWidths(); |
| args.options.forEach((name, option) { |
| + if (option.isHidden) return; |
| + |
| write(0, getAbbreviation(option)); |
| write(1, getLongOption(option)); |