Unverified Commit 9764d861 authored by Jenn Magder's avatar Jenn Magder Committed by GitHub

Support flutter create --platform singular flag (#88076)

parent 9b1ed463
......@@ -151,6 +151,7 @@ abstract class CreateBase extends FlutterCommand {
void addPlatformsOptions({String customHelp}) {
argParser.addMultiOption('platforms',
help: customHelp ?? _kDefaultPlatformArgumentHelp,
aliases: <String>[ 'platform' ],
defaultsTo: <String>[
..._kAvailablePlatforms,
if (featureFlags.isWindowsUwpEnabled)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment