Skip to content

Commit

Permalink
Add gcs-console --version
Browse files Browse the repository at this point in the history
  • Loading branch information
darashi committed Oct 24, 2012
1 parent 44a031f commit 01471ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/gcs-console
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -13,6 +14,7 @@ var defaults = {
};

program
.version(version)
.option('-p, --port [port]',
'Port. [' + defaults.port + ']',
Number,
Expand Down

0 comments on commit 01471ce

Please sign in to comment.