Github user nikhilkh commented on a diff in the pull request: https://github.com/apache/cordova-cli/pull/244#discussion_r59599203 --- Diff: doc/readme.md --- @@ -464,29 +464,31 @@ cordova build [<platform> [...]] ### Synopsis -Prepares, builds (unless `--nobuild` is specified) and deploys app on specified platform devices/emulators. If a device is connected it will be used, unless an eligible emulator is already running. +Prepares, builds, and deploys app on specified platform devices/emulators. If a device is connected it will be used, unless an eligible emulator is already running. ###Syntax ```bash cordova run [<platform> [...]] - [--list | --nobuild ] + [--list | --debug | --release] + [--noprepare] [--nobuild] [--device|--emulator|--target=<targetName>] [--buildConfig=<configfile>] [--browserify] [-- <platformOpts>] ``` -| Option | Description -|------------|------------------ +| Option | Description +|-------------|------------------ | `<platform> [..]` | Platform name(s) to run. If not specified, all platforms are run. -|--nobuild | Skip building -|--debug | Deploy a debug build. This is the default behavior unless `--release` is specified. -|--release | Deploy a release build -|--device | Deploy to a device -|--emulator | Deploy to an emulator -|--target | Deploy to a specific target emulator/device. Use `--list` to display target options -| --list | Lists available targets. Displays both device and emulator deployment targets unless specified +| --list | Lists available targets. Displays both device and emulator deployment targets unless specified +| --debug | Deploy a debug build. This is the default behavior unless `--release` is specified. +| --release | Deploy a release build +| --noprepare | Skip preparing --- End diff -- One slight caveat - just mention something like: [Available in cordova CLI 6.2 and above] Since we have a 6.x version of the docs - new features, flags need to be versioned inline.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org