cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject git commit: CB-4153 Update help.txt about --source -> --copy-from
Date Tue, 04 Feb 2014 00:27:05 GMT
Updated Branches:
  refs/heads/master 044a35666 -> 6d05d94fc


CB-4153 Update help.txt about --source -> --copy-from


Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/6d05d94f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/6d05d94f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/6d05d94f

Branch: refs/heads/master
Commit: 6d05d94fc8190a40725c8792c4cf1371ecf806ca
Parents: 044a356
Author: Mark Koudritsky <kamrik@chromium.org>
Authored: Mon Feb 3 12:03:42 2014 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Mon Feb 3 19:26:57 2014 -0500

----------------------------------------------------------------------
 doc/help.txt | 4 ++--
 src/cli.js   | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/6d05d94f/doc/help.txt
----------------------------------------------------------------------
diff --git a/doc/help.txt b/doc/help.txt
index f16dbd3..3a6064e 100644
--- a/doc/help.txt
+++ b/doc/help.txt
@@ -9,8 +9,8 @@ Global Commands
                                                NAME is a human readable field
                                                CONFIG is a json string whose key/values will
be included
                                                in [PATH]/.codova/config.json
-                  [--src|source=<PATH>] ...... use custom www assets instead of the
stock Cordova hello-world.
-                  [--link=<PATH>] ............ symlink to custom www assets without
creating a copy.
+                  [--copy-from|src=<PATH>] ... use custom www assets instead of the
stock Cordova hello-world.
+                  [--link-to=<PATH>] ......... symlink to custom www assets without
creating a copy.
 
     help ..................................... shows this syntax summary
 

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/6d05d94f/src/cli.js
----------------------------------------------------------------------
diff --git a/src/cli.js b/src/cli.js
index c60f4ac..15934c2 100644
--- a/src/cli.js
+++ b/src/cli.js
@@ -41,6 +41,7 @@ module.exports = function CLI(inputArgs) {
         tokens = process.argv.slice(2);
     }
 
+    // When changing command line arguments, update doc/help.txt accordingly.
     var args = optimist(tokens)
         .boolean('d')
         .boolean('verbose')


Mime
View raw message