Permalink
Browse files

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

  • Loading branch information...
1 parent 044a356 commit 6d05d94fc8190a40725c8792c4cf1371ecf806ca @kamrik kamrik committed with agrieve Feb 3, 2014
Showing with 3 additions and 2 deletions.
  1. +2 −2 doc/help.txt
  2. +1 −0 src/cli.js
View
@@ -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
View
@@ -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')

0 comments on commit 6d05d94

Please sign in to comment.