Skip to content

Commit

Permalink
Fix flags for jline-foreach.
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Murphy-Skvorzov committed Oct 1, 2015
1 parent dcae635 commit cab1bb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions bin/foreach.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ var opt = require('../lib/opt').fancy({filename:__filename, usage:

var eventHandlers = [];
process.argv.slice(2).forEach(function(arg){
if (/^-[lq]+$/.test(arg)) return;
var match = arg.match(/^([a-zA-Z]+)::(.*)/);
if (match === null){
eventHandlers.push(['jline',arg]);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jline",
"version": "0.0.41",
"version": "0.0.42",
"description": "Sort, grep and join files where every line is JSON.",
"main": "index.js",
"bin": {
Expand Down

0 comments on commit cab1bb0

Please sign in to comment.