This is because the vm doesn't recognize the flag, but this flag belongs to the main dart command, not the subcommand. This might not be urgent, as this flag is not exposed by default. But it makes embedding the dart tool into eg. flutter awkward. See https://github.com/dart-lang/pub/issues/2736