Permalink
Browse files

[bin] output results with file

  • Loading branch information...
1 parent 20addc5 commit 20dc6622269cab9fb3a34b1222c09778af129ee2 @mmalecki committed Aug 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/ngrep
View
@@ -2,7 +2,7 @@
var ngrep = require('../lib/ngrep');
function callback(result) {
- console.log(result.context);
+ console.log(result.file + ': ' + result.context);
}
var pattern = new RegExp(process.argv[2], 'g');

0 comments on commit 20dc662

Please sign in to comment.