[Groonga-commit] droonga/express-droonga at cc55f31 [master] Use parseInt() for integer value

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Mar 17 12:39:50 JST 2014


Kouhei Sutou	2014-03-17 12:39:50 +0900 (Mon, 17 Mar 2014)

  New Revision: cc55f313b94424b980e3a3494fe19b6655275f7a
  https://github.com/droonga/express-droonga/commit/cc55f313b94424b980e3a3494fe19b6655275f7a

  Message:
    Use parseInt() for integer value

  Modified files:
    application.js

  Modified: application.js (+2 -2)
===================================================================
--- application.js    2014-03-17 12:39:07 +0900 (2f90f94)
+++ application.js    2014-03-17 12:39:50 +0900 (174f8d3)
@@ -9,9 +9,9 @@ var version = require('./package.json').version;
 
 options
   .version(version)
-  .option('--port <port>', 'Port number', Number, 13000)
+  .option('--port <port>', 'Port number', parseInt, 13000)
   .option('--droonga-engine-port <port>', 'Port number of Droonga engine',
-          Number, 24224)
+          parseInt, 24224)
   .option('--enable-logging', 'Enable logging to the standard output')
   .parse(process.argv);
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index