access-log-parser
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "access-log-parser", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Small package for parsing access log", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -18,2 +18,7 @@ 'use strict'; | ||
if ('help' in args) { | ||
console.log(require('./help.js')); | ||
process.exit(); | ||
} | ||
if (!('path' in args)) { | ||
@@ -25,7 +30,2 @@ ut.log('Please specify --path option to proceed'); | ||
if ('help' in args) { | ||
console.log(require('./help.js')); | ||
process.exit(); | ||
} | ||
require('./reader.js')( | ||
@@ -32,0 +32,0 @@ ut.resolvePath(args.path), |