We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
--device
1 parent f50cc16 commit ac90938Copy full SHA for ac90938
packages/cli-platform-apple/src/commands/runCommand/runOptions.ts
@@ -43,10 +43,10 @@ export const getRunOptions = ({platformName}: BuilderCommand) => {
43
'"iPhone 15 (17.0)"',
44
},
45
!isMac && {
46
- name: '--device <string>',
+ name: '--device [string]', // here we're intentionally using [] over <> to make passed value optional to allow users to run only on physical devices
47
description:
48
- 'Explicitly set the device to use by name. The value is not required ' +
49
- '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.',
50
51
...getBuildOptions({platformName}),
52
];
0 commit comments