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/5dca7c94 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/5dca7c94 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/5dca7c94 Branch: refs/heads/master Commit: 5dca7c94628d995c2bcd7da969de8728ef7c8651 Parents: 3a76a36 Author: Anis Kadri <[email protected]> Authored: Thu Jul 11 13:27:10 2013 -0700 Committer: Anis Kadri <[email protected]> Committed: Thu Jul 11 14:17:27 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/5dca7c94/doc/help.txt ---------------------------------------------------------------------- diff --git a/doc/help.txt b/doc/help.txt index 412b3ba..e59d4fa 100644 --- a/doc/help.txt +++ b/doc/help.txt @@ -33,3 +33,27 @@ Optional flags -------------- --debug : Verbose mode + +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/5dca7c94/main.js ---------------------------------------------------------------------- diff --git a/main.js b/main.js index a0aca4d..1f7bea5 100755 --- a/main.js +++ b/main.js @@ -94,7 +94,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 = {}
