d209ea9333
Removes the port from `startService()` (which as far as I can see is unused) and parses it from `args` instead. I had to add support for "options" in the argument classes and switched from a bool flag `isFlag` to an enum to be a bit more descriptive (and be easier to support multi-options in future if required). Fixes https://github.com/dart-lang/sdk/issues/56000 Change-Id: Ib08513139f58e8845a7c2cbbeeea06787dbc2df1 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/371840 Commit-Queue: Ben Konyi <bkonyi@google.com> Reviewed-by: Dan Chevalier <danchevalier@google.com> Reviewed-by: Ben Konyi <bkonyi@google.com>