Permalink
Browse files

Merge branch '0.3.x'

  • Loading branch information...
2 parents dacc413 + c3503ec commit 9d6fef340657783a307fad39b00e7e5f9ad742af @xiecc xiecc committed Mar 11, 2013
View
@@ -50,7 +50,7 @@ var ADDSUCCESS_INFO = 'Successfully add server.';
/**
* Usage documentation.
*/
-var usage = '' + '\n' + ' Usage: pomelo [action] [option]\n' + '\n' + ' Options:\n' + ' init [path] create new application\n' + ' start [option] start the application\n' + ' list list server information\n' + ' stop stop the application\n' + ' kill [--force] kill the application\n' + ' version output framework version\n' + ' help output help information\n' + ' [option] developement(default)/production --daemon';
+var usage = '' + '\n' + ' Usage: pomelo [action] [option]\n' + '\n' + ' Options:\n' + ' init [path] create new application\n' + ' start [option] start the application\n' + ' list list server information\n' + ' stop stop the application\n' + ' kill [--force] kill the application\n' + ' --version output framework version\n' + ' --help output help information\n' + ' [option] developement(default)/production --daemon';
/**
* Parse command arguments.
@@ -60,11 +60,11 @@ var args = process.argv.slice(2);
(function() {
var arg = args.shift();
switch(arg) {
- case 'help':
+ case '--help':
legalArgNum(0);
abort(usage);
break;
- case 'version':
+ case '--version':
legalArgNum(0);
abort(version);
break;
@@ -0,0 +1 @@
+{}
@@ -0,0 +1 @@
+{}
@@ -0,0 +1 @@
+{}
@@ -0,0 +1 @@
+cd public/js/lib && component install -f && component build -v
Oops, something went wrong.

0 comments on commit 9d6fef3

Please sign in to comment.