You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2013/07/11 23:50:40 UTC

[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 <an...@apache.org>
Authored: Thu Jul 11 13:27:10 2013 -0700
Committer: Anis Kadri <an...@apache.org>
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 = {}