Kouhei Sutou
null+****@clear*****
Mon Mar 24 22:24:44 JST 2014
Kouhei Sutou 2014-03-24 22:24:44 +0900 (Mon, 24 Mar 2014) New Revision: f66ec5dbc99b51c84e2d97a6662bdb9bc8def4c1 https://github.com/droonga/express-droonga/commit/f66ec5dbc99b51c84e2d97a6662bdb9bc8def4c1 Message: Add --default-dataset option Modified files: application.js Modified: application.js (+3 -1) =================================================================== --- application.js 2014-03-24 22:22:56 +0900 (2a48a83) +++ application.js 2014-03-24 22:24:44 +0900 (4bde667) @@ -15,6 +15,8 @@ options '127.0.0.1') .option('--droonga-engine-port <port>', 'Port number of Droonga engine', parseInt, 24224) + .option('--default-dataset <dataset>', 'The default dataset', + 'Droonga') .option('--enable-logging', 'Enable logging to the standard output') .parse(process.argv); @@ -41,7 +43,7 @@ application.configure(function() { application.droonga({ prefix: '', - defaultDataset: 'Droonga', + defaultDataset: options.defaultDataset, server: server, sessionStore: sessionStore, // this is required to share session information by socket.io and HTTP APIs hostName: options.droongaEngineHostName, -------------- next part -------------- HTML����������������������������... Descargar