From b90f74694143868ff6d990ae3fe342730be3b2cc Mon Sep 17 00:00:00 2001 From: Szymon Rybczak Date: Tue, 16 Jan 2024 19:45:40 +0100 Subject: [PATCH] fix: allow users to specificy `--device` without value (#2265) --- packages/cli-platform-ios/src/commands/runIOS/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/cli-platform-ios/src/commands/runIOS/index.ts b/packages/cli-platform-ios/src/commands/runIOS/index.ts index cff9905c7..8fdec16c3 100644 --- a/packages/cli-platform-ios/src/commands/runIOS/index.ts +++ b/packages/cli-platform-ios/src/commands/runIOS/index.ts @@ -647,10 +647,10 @@ export default { '"iPhone 15 (17.0)"', }, { - name: '--device ', + name: '--device [string]', // here we're intentionally using [] over <> to make passed value optional to allow users to run only on physical devices description: - 'Explicitly set the device to use by name. The value is not required ' + - 'if you have a single device connected.', + 'Explicitly set the device to use by name. If the value is not provided,' + + 'the app will run on the first available physical device.', }, { name: '--udid ',