Skip to content

Commit

Permalink
- text
Browse files Browse the repository at this point in the history
  • Loading branch information
canonic-epicure committed Sep 10, 2011
1 parent b32105a commit a1e229e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/joose-nodify.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ var argv = require('optimist')
.wrap(80)

.option('root', {
desc : 'A path directory which will act as a web root. Default is current working directory',
desc : 'A directory which will act as a web root. Default is current working directory',
'default' : './'
})

.option('require', {
alias : 'r',
desc : 'A file to nodify (has the same semantic as `require` made in `root` directory. You can specify several `require`'
desc : 'A file to nodify (has the same semantic as `require` made in `root` directory. You can specify several `require` options'
})

.option('file', {
alias : 'f',
desc : 'A file to nodify (has the same semantic as `require` made in `root` directory. You can specify several `require`'
desc : 'A file to nodify (relative to `root` directory). You can specify several `file` options'
})

.option('help', {
Expand All @@ -24,7 +24,7 @@ var argv = require('optimist')
.check(function (argv) {
if (argv.help) throw ''

if (!argv.file && !argv.require) throw 'At least one `require` or `file` is required'
if (!argv.file && !argv.require) throw 'At least one `require` or `file` should be provided'
})
.argv

Expand Down

0 comments on commit a1e229e

Please sign in to comment.