Navigation Menu

Skip to content

Commit

Permalink
Apply default option of --priviledge correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Aug 2, 2012
1 parent 01836bb commit 8510cd6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/gcs
Expand Up @@ -17,7 +17,7 @@ program
'database path [' + defaultDatabasePath + ']',
String,
defaultDatabasePath)
.option('--privilege',
.option('--privilege <ip range>',
'IP range for privileged clients [' + defaultPrivilegedRange + ']',
String,
defaultPrivilegedRange)
Expand All @@ -33,4 +33,5 @@ server = gcsServer.createServer({
server.listen(program.port, function() {
console.log('gcs listening at %d', program.port);
console.log('database is at %s', program.databasePath);
console.log('privileged IP range is %s', program.privilege);
});

0 comments on commit 8510cd6

Please sign in to comment.