YUKI Hiroshi
null+****@clear*****
Mon Oct 22 10:50:18 JST 2012
YUKI Hiroshi 2012-10-22 10:50:18 +0900 (Mon, 22 Oct 2012) New Revision: ecfee1cd479338a1461ace81aae9790cce0db86f https://github.com/groonga/gcs/commit/ecfee1cd479338a1461ace81aae9790cce0db86f Log: Use the port number specified by "--port" option prior to the one specified by "--base-host" option Modified files: lib/command-line.js Modified: lib/command-line.js (+1 -1) =================================================================== --- lib/command-line.js 2012-10-22 10:58:02 +0900 (917905d) +++ lib/command-line.js 2012-10-22 10:50:18 +0900 (ee8ea2f) @@ -32,7 +32,7 @@ CommandLineInterface.prototype = { return this.options.baseHost.split(':')[0]; }, get port() { - return this.options.baseHost.split(':')[1] || this.options.port; + return this.options.port || this.options.baseHost.split(':')[1]; }, get options() { -------------- next part -------------- HTML����������������������������...Download