typo
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugman/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugman/commit/37cb50cc Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/37cb50cc Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/37cb50cc Branch: refs/heads/master Commit: 37cb50cc2683ef73dfd920edd004de9c3343ae63 Parents: 8da6b44 Author: Anis Kadri <[email protected]> Authored: Thu Jul 11 13:27:10 2013 -0700 Committer: Anis Kadri <[email protected]> Committed: Thu Jul 11 13:27:10 2013 -0700 ---------------------------------------------------------------------- doc/help.txt | 24 ++++++++++++++++++++++++ main.js | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/37cb50cc/doc/help.txt ---------------------------------------------------------------------- diff --git a/doc/help.txt b/doc/help.txt index 3a45a73..a4f31cb 100644 --- a/doc/help.txt +++ b/doc/help.txt @@ -28,3 +28,27 @@ Optional parameters - www <directory>: www assets for the plugin will be installed into this directory. Default is to install into the standard www directory for the platform specified - plugins_dir <directory>: a copy of the plugin will be stored in this directory. Default is to install into the <project directory>/plugins folder + +Interacting with the registry +============================= + +Add a user account +------------------ + + $ plugman --adduser + +Publish a plugin +---------------- + + $ plugman --publish --plugin <directory> + +Unpublish a plugin +------------------ + + $ plugman --unpublish <name>@<version> + +Search for a plugin +------------------- + + $ plugman --search plugin,keywords + http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/37cb50cc/main.js ---------------------------------------------------------------------- diff --git a/main.js b/main.js index 573765f..153bea8 100755 --- a/main.js +++ b/main.js @@ -90,7 +90,7 @@ else if (cli_opts.unpublish && cli_opts.plugin) { plugman.unpublish(new Array(cli_opts.plugin)); } else if (cli_opts.search) { - plugman.search(cli_opts.search.split(','); + plugman.search(cli_opts.search.split(',')); } else if(cli_opts.install) { var cli_variables = {}
