Skip to content

Commit a51eb95

Browse files
author
Iva Koevska
committed
Added missing --emulator option for the run command
1 parent 554cd82 commit a51eb95

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

resources/help.txt

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -193,20 +193,24 @@ Before building for iOS device, verify that you have configured a valid pair of
193193
--[run]--
194194

195195
Usage:
196-
$ tns run <Platform> [--device <Device ID>]
197-
$ nativescript run <Platform> [--device <Device ID>]
196+
$ tns run <Platform> [--device <Device ID>] [--emulator]
197+
$ nativescript run <Platform> [--device <Device ID>] [--emulator]
198198

199199
Platform-specific usage:
200-
$ tns run android [--device <Device ID>]
201-
$ tns run ios [--device <Device ID>]
202-
$ nativescript run android [--device <Device ID>]
203-
$ nativescript run ios [--device <Device ID>]
200+
$ tns run android [--device <Device ID>] [--emulator]
201+
$ tns run ios [--device <Device ID>] [--emulator]
202+
$ nativescript run android [--device <Device ID>] [--emulator]
203+
$ nativescript run ios [--device <Device ID>] [--emulator]
204204

205205
Runs your project on connected device. This is shorthand for prepare, build, and deploy.
206206
<Device ID> is the index or name of the target device as listed by $ tns list-devices.
207207

208208
Before building for iOS device, verify that you have configured a valid pair of certificate and provisioning profile on your OS X system.
209209

210+
Options:
211+
--device - Specifies a connected device on which to run the app.
212+
--emulator - Runs the app in the native emulator for the target platform, if configured.
213+
210214
--[/]--
211215

212216
--[emulate]--

0 commit comments

Comments
 (0)