Permalink
Browse files

Merge pull request #148 from peterbraden/master

Alias -ls to -T
  • Loading branch information...
2 parents 060e84d + 66528f7 commit 376232fa76c88e84f4b3d19933b484e3ad687e62 @mde mde committed Aug 17, 2012
Showing with 10 additions and 1 deletion.
  1. +6 −1 lib/program.js
  2. +4 −0 test/parseargs.js
View
@@ -48,6 +48,11 @@ optsReg = [
, abbr: 'T'
, preempts: true
}
+// Alias ls
+, { full: 'tasks'
+ , abbr: 'ls'
+ , preempts: true
+ }
, { full: 'trace'
, abbr: 't'
, preempts: false
@@ -94,7 +99,7 @@ usage = ''
+ ' -C, --directory DIRECTORY Change to DIRECTORY before running tasks.\n'
+ ' -q, --quiet Do not log messages to standard output.\n'
+ ' -B, --always-make Unconditionally make all targets.\n'
- + ' -T, --tasks Display the tasks (matching optional PATTERN) with descriptions, then exit.\n'
+ + ' -T, -ls, --tasks Display the tasks (matching optional PATTERN) with descriptions, then exit.\n'
+ ' -J, --jakelibdir JAKELIBDIR Auto-import any .jake files in JAKELIBDIR. (default is \'jakelib\')\n'
+ ' -t, --trace Enable full backtrace.\n'
+ ' -h, --help Display this help message.\n'
View
@@ -15,6 +15,10 @@ var parseargs = require('../lib/parseargs')
, abbr: 'T'
, preempts: true
}
+ , { full: 'tasks'
+ , abbr: 'ls'
+ , preempts: true
+ }
, { full: 'trace'
, abbr: 't'
, preempts: false

0 comments on commit 376232f

Please sign in to comment.