Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Show the help information if no path is given #5

Merged
merged 1 commit into from

2 participants

@criso

stats now does the same as stats -h

@tj tj merged commit b03ad8b into tj:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 3, 2011
  1. @criso
This page is out of date. Refresh to see the latest.
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);
-}
+}
Something went wrong with that request. Please try again.