You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ra...@apache.org on 2019/10/19 17:19:06 UTC
[cordova-cli] branch master updated: Remove unsupported option
--copy-from (#474)
This is an automated email from the ASF dual-hosted git repository.
raphinesse pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-cli.git
The following commit(s) were added to refs/heads/master by this push:
new 71169f7 Remove unsupported option --copy-from (#474)
71169f7 is described below
commit 71169f7822a5e2ed0b3c0b326aa19f866efd50a8
Author: Raphael von der GrĂ¼n <ra...@gmail.com>
AuthorDate: Sat Oct 19 19:18:55 2019 +0200
Remove unsupported option --copy-from (#474)
---
doc/create.txt | 1 -
doc/readme.md | 1 -
src/cli.js | 2 --
3 files changed, 4 deletions(-)
diff --git a/doc/create.txt b/doc/create.txt
index 9bab849..f83e0f5 100644
--- a/doc/create.txt
+++ b/doc/create.txt
@@ -13,7 +13,6 @@ Create a Cordova project
Options
--template=<PATH|NPM PACKAGE|GIT URL> ... use a custom template located locally, in NPM, or GitHub.
- --copy-from|src=<PATH> .................. deprecated, use --template instead.
--link-to=<PATH> ........................ symlink to custom www assets without creating a copy.
Example
diff --git a/doc/readme.md b/doc/readme.md
index d4456aa..33ba5fd 100644
--- a/doc/readme.md
+++ b/doc/readme.md
@@ -118,7 +118,6 @@ cordova create path [id [name [config]]] [options]
| Option | Description |
|--------|-------------|
| --template | Use a custom template located locally, in NPM, or GitHub. |
-| --copy-from\|--src | _Deprecated_ <br/> Use --template instead. Specifies a directory from which to copy the current Cordova project. |
|--link-to | Symlink to specified `www` directory without creating a copy. |
### Directory structure
diff --git a/src/cli.js b/src/cli.js
index 73ffc6b..520520a 100644
--- a/src/cli.js
+++ b/src/cli.js
@@ -47,7 +47,6 @@ var knownOpts = {
'noregistry': Boolean,
'nohooks': Array,
'shrinkwrap': Boolean,
- 'copy-from': String,
'link-to': path,
'searchpath': String,
'variable': Array,
@@ -74,7 +73,6 @@ var shortHands = {
'd': '--verbose',
'v': '--version',
'h': '--help',
- 'src': '--copy-from',
't': '--template'
};
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org