Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

show help information if not path is given #4

  • Loading branch information...
commit 1bd665808703d9947aa68300ff35555968d55ab9 1 parent ae715bf
@criso criso authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  bin/stats
View
3  bin/stats
@@ -54,6 +54,7 @@ var usage = [
/**
* Handle arguments.
*/
+args.length > 0 || args.push('-h');
var arg;
while (args.length) {
@@ -119,4 +120,4 @@ function done() {
for (var file in statistics) obj[file] = statistics[file];
}
format(obj);
-}
+}
Please sign in to comment.
Something went wrong with that request. Please try again.