You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ni...@apache.org on 2016/03/02 02:53:54 UTC
cordova-cli git commit: Minor reference doc tweaks
Repository: cordova-cli
Updated Branches:
refs/heads/master c321fae95 -> d129f9dbc
Minor reference doc tweaks
Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/d129f9db
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/d129f9db
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/d129f9db
Branch: refs/heads/master
Commit: d129f9dbc5cf29c880350bd14be630ad3ccc232a
Parents: c321fae
Author: Nikhil Khandelwal <ni...@microsoft.com>
Authored: Tue Mar 1 17:51:15 2016 -0800
Committer: Nikhil Khandelwal <ni...@microsoft.com>
Committed: Tue Mar 1 17:53:33 2016 -0800
----------------------------------------------------------------------
doc/readme.md | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/d129f9db/doc/readme.md
----------------------------------------------------------------------
diff --git a/doc/readme.md b/doc/readme.md
index 302de90..076a1a1 100644
--- a/doc/readme.md
+++ b/doc/readme.md
@@ -28,8 +28,8 @@ description: Learn how to use Cordova CLI commands and their options.
## Syntax
-```
-cordova <command> [options]
+```bash
+cordova <command> [options] -- [platformOpts]
```
## Global Command List
@@ -70,12 +70,11 @@ These options apply to all cordova-cli commands.
## Platform-specific options
-Certain commands have options that are specific to a particular platform. They can be provided to the cordova-cli with a '--' separator that stops the command parsing within the cordova-lib module and passes through rest of the options for platforms to parse.
+Certain commands have options (`platformOpts`) that are specific to a particular platform. They can be provided to the cordova-cli with a '--' separator that stops the command parsing within the cordova-lib module and passes through rest of the options for platforms to parse.
## Examples
-
- This example demonstrates how cordova-cli can be used to create a project with the `camera` plugin and run it for `android` platform. In particular, platform specific options like `--keystore` can be provided:
-
+
# Create a cordova project
cordova create myApp com.myCompany.myApp myApp
cd myApp
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org