Remove unused flag --target-platform from flutter run (#34369)

This commit is contained in:
Emmanuel Garcia
2019-06-13 11:47:42 -07:00
committed by GitHub
parent eb9160eb93
commit 2488c38931

View File

@@ -55,12 +55,7 @@ abstract class RunCommandBase extends FlutterCommand with DeviceBasedDevelopment
'to precompile some code by the offline compiler. '
'This flag is only allowed when running as --dynamic --profile (recommended) or '
'--debug (may include unwanted debug symbols).',
)
..addOption('target-platform',
defaultsTo: 'default',
allowed: <String>['default', 'android-arm', 'android-arm64', 'android-x86', 'android-x64'],
help: 'Specify the target platform when building the app for an '
'Android device.\nIgnored on iOS.');
);
usesTargetOption();
usesPortOptions();
usesIpv6Flag();