[Groonga-commit] groonga/gcs-console [master] Add gcs-console --version

Back to archive index

Yoji SHIDARA null+****@clear*****
Wed Oct 24 18:34:55 JST 2012


Yoji SHIDARA	2012-10-24 18:34:55 +0900 (Wed, 24 Oct 2012)

  New Revision: 01471ce6a6e2cf73ef58c89f91e2a7da7a21cfa2
  https://github.com/groonga/gcs-console/commit/01471ce6a6e2cf73ef58c89f91e2a7da7a21cfa2

  Log:
    Add gcs-console --version

  Modified files:
    bin/gcs-console

  Modified: bin/gcs-console (+2 -0)
===================================================================
--- bin/gcs-console    2012-10-24 18:32:36 +0900 (59729eb)
+++ bin/gcs-console    2012-10-24 18:34:55 +0900 (15d6ddc)
@@ -2,6 +2,7 @@
 
 var http = require('http');
 var program = require('commander');
+var version = require('../package').version;
 
 var setupApplication = require('../app.js').setupApplication;
 var express = require('express');
@@ -13,6 +14,7 @@ var defaults = {
 };
 
 program
+  .version(version)
   .option('-p, --port [port]',
           'Port. [' + defaults.port + ']',
           Number,
-------------- next part --------------
HTML����������������������������...
下载 



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