diff --git a/packages/eas-cli/src/commands/build/version/get.ts b/packages/eas-cli/src/commands/build/version/get.ts index 050a477c72..ca005bf040 100644 --- a/packages/eas-cli/src/commands/build/version/get.ts +++ b/packages/eas-cli/src/commands/build/version/get.ts @@ -21,7 +21,7 @@ export default class BuildVersionGetView extends EasCommand { public static override description = 'get the latest version from EAS servers'; public static override flags = { - platform: Flags.enum({ + platform: Flags.string({ char: 'p', options: ['android', 'ios', 'all'], }), diff --git a/packages/eas-cli/src/commands/build/version/set.ts b/packages/eas-cli/src/commands/build/version/set.ts index f7bf613044..6908949348 100644 --- a/packages/eas-cli/src/commands/build/version/set.ts +++ b/packages/eas-cli/src/commands/build/version/set.ts @@ -25,7 +25,7 @@ export default class BuildVersionSetView extends EasCommand { static override description = 'update version of an app'; static override flags = { - platform: Flags.enum({ + platform: Flags.string({ char: 'p', options: ['android', 'ios'], }),