Index: lib/src/parser.dart |
diff --git a/lib/src/parser.dart b/lib/src/parser.dart |
index 848bb9c293601cf77f2763d2b0a6b122e7e08598..a10692d4ed84e328122ecefce672089a48dede34 100644 |
--- a/lib/src/parser.dart |
+++ b/lib/src/parser.dart |
@@ -103,10 +103,6 @@ class Parser { |
// Take the option argument from the next command line arg. |
validate(args.length > 0, 'Missing argument for "${option.name}".'); |
- // Make sure it isn't an option itself. |
- validate(!_ABBR_OPT.hasMatch(current) && !_LONG_OPT.hasMatch(current), |
- 'Missing argument for "${option.name}".'); |
- |
setOption(results, option, current); |
args.removeAt(0); |
} |