b262f60227
Setting the command-line arguments separately from the protocol used to be necessary, but it no long is, so it's cleaner to just set the command line arguments when creating the server and moving the handling of the protocol option into the server. This resulted in a cleaner API and implementation. Change-Id: I9456e2a43310bb855b54c010af64ce0328a08ff7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/464785 Commit-Queue: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Keerti Parthasarathy <keertip@google.com>