Skip to content

Commit

Permalink
Fixed usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
mde committed May 28, 2011
1 parent 46f71d4 commit 763d356
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions lib/program.js
Expand Up @@ -6,13 +6,13 @@ var parseargs = require('../lib/parseargs')
, die;

optsReg = [
{ full: 'directory'
, abbr: 'C'
{ full: 'jakefile'
, abbr: 'f'
, preempts: false
, expectValue: true
}
, { full: 'jakefile'
, abbr: 'f'
, { full: 'directory'
, abbr: 'C'
, preempts: false
, expectValue: true
}
Expand Down Expand Up @@ -49,15 +49,15 @@ usage = ''
+ '********************************************************************************\n'
+ 'If no flags are given, Jake looks for a Jakefile or Jakefile.js in the current directory.\n'
+ '********************************************************************************\n'
+ '{Usage}: jake [options] target (commands/options ...)\n'
+ '{Usage}: jake [options ...] [env variables ...] target\n'
+ '\n'
+ '{Options}:\n'
+ ' -f, --jakefile FILE Use FILE as the Jakefile\n'
+ ' -C, --directory DIRECTORY Change to DIRECTORY before running tasks.\n'
+ ' -T, --tasks Display the tasks, with descriptions, then exit.\n'
+ ' -t, --trace Enable full backtrace.\n'
+ ' -h, --help Outputs help information\n'
+ ' -V, --version Outputs Jake version\n'
+ ' -f, --jakefile FILE Use FILE as the Jakefile\n'
+ ' -C, --directory DIRECTORY Change to DIRECTORY before running tasks.\n'
+ ' -T, --tasks Display the tasks, with descriptions, then exit.\n'
+ ' -t, --trace Enable full backtrace.\n'
+ ' -h, --help Outputs help information\n'
+ ' -V, --version Outputs Jake version\n'
+ '';

Program = function () {
Expand Down

0 comments on commit 763d356

Please sign in to comment.