cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [38/50] cordova-paramedic git commit: clean up usage info output
Date Fri, 04 Mar 2016 00:36:16 GMT
clean up usage info output


Project: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/commit/b275816e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/tree/b275816e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/diff/b275816e

Branch: refs/heads/master
Commit: b275816ecd1542dac8a6fc63fce9829f42d72c27
Parents: 3815760
Author: Jesse MacFadyen <purplecabbage@gmail.com>
Authored: Tue Mar 31 18:02:24 2015 -0700
Committer: Jesse MacFadyen <purplecabbage@gmail.com>
Committed: Tue Mar 31 18:02:24 2015 -0700

----------------------------------------------------------------------
 main.js | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-paramedic/blob/b275816e/main.js
----------------------------------------------------------------------
diff --git a/main.js b/main.js
index daa329c..ea814c8 100755
--- a/main.js
+++ b/main.js
@@ -6,12 +6,17 @@ var parseArgs = require('minimist'),
 var plugins,
     platformId;
 
-var USAGE = "Error missing args. \n Usage: $cordova-paramedic " +
-            "  --platform CORDOVA-PLATFORM --plugin PLUGIN-PATH [--justbuild ] [--port PORT]
[--timeout TIMEOUT] \n" +
-            " CORDOVA-PLATFORM : Which platform to build target\n" +
-            " PLUGIN-PATH : Path to the plugin to install.\n" +
-            " --justbuild : Will not run tests, just verify that the plugin+platform can
be built.\n" +
-            " TIMEOUT : time to wait for tests to run, in msecs, default is 10 minutes.";

+var USAGE = "Error missing args. \n" +
+	"cordova-paramedic --platform PLATFORM --plugin PATH [--justbuild --timeout MSECS --port
PORTNUM]" +
+	"`PLATFORM` : the platform id, currently only supports 'ios'\n" +
+	"`PATH` : the relative or absolute path to a plugin folder\n" +
+					"\texpected to have a 'tests' folder.\n" +  
+					"\tYou may specify multiple --plugin flags and they will all\n" + 
+					"\tbe installed and tested together.\n" +
+	"`MSECS` : (optional) time in millisecs to wait for tests to pass|fail \n" +
+			  "\t(defaults to 10 minutes) \n" +
+	"`PORTNUM` : (optional) port to use for posting results from emulator back to paramedic
server\n" +
+	"--justbuild : (optional) just builds the project, without running the tests"; 
 
 var argv = parseArgs(process.argv.slice(2));
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message