Skip to content

Commit

Permalink
add [dir] to express(1) --help output. Closes #1699
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Aug 2, 2013
1 parent e283200 commit 6942070
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/express
Expand Up @@ -16,6 +16,7 @@ var exec = require('child_process').exec

program
.version(version)
.usage('[options] [dir]')
.option('-s, --sessions', 'add session support')
.option('-e, --ejs', 'add ejs engine support (defaults to jade)')
.option('-J, --jshtml', 'add jshtml engine support (defaults to jade)')
Expand Down Expand Up @@ -209,7 +210,7 @@ var app = [
, ' */'
, ''
, 'var express = require(\'express\');'
, 'var routes = require(\'./routes\')';
, 'var routes = require(\'./routes\');'
, 'var user = require(\'./routes/user\');'
, 'var http = require(\'http\');'
, 'var path = require(\'path\');'
Expand Down

0 comments on commit 6942070

Please sign in to comment.