Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3FFE61021C for ; Thu, 11 Jul 2013 21:50:03 +0000 (UTC) Received: (qmail 19999 invoked by uid 500); 11 Jul 2013 21:50:02 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 19958 invoked by uid 500); 11 Jul 2013 21:50:02 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 19344 invoked by uid 99); 11 Jul 2013 21:50:02 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jul 2013 21:50:02 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 2A848894101; Thu, 11 Jul 2013 21:50:02 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: anis@apache.org To: commits@cordova.apache.org Date: Thu, 11 Jul 2013 21:50:40 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [40/43] git commit: typo 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/plugman-registry Commit: 5dca7c94628d995c2bcd7da969de8728ef7c8651 Parents: 3a76a36 Author: Anis Kadri Authored: Thu Jul 11 13:27:10 2013 -0700 Committer: Anis Kadri 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 + +Unpublish a plugin +------------------ + + $ plugman --unpublish @ + +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 = {}