Skip to content

Commit

Permalink
fixing typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jondot committed Nov 4, 2011
1 parent fcf721e commit cdddb58
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions README.md
Expand Up @@ -3,11 +3,13 @@
web/null is `/dev/null` for the Web. It silently agrees with and eats up any request
being `VERB`d to it, and keeps statistics of it.

web/null is great to use as an end-socket of any distributed system you
have. Replace any service with it, in order to have a real peek at what
web/null is great to use as a diagnostics end-socket of any distributed system you
have, that works against another system sitting at an HTTP endpoint.

Replace any service with it, in order to have a real peek at what
your other services are doing.

web/null is extremely useful (and being used) for getting data during stress
web/null is extremely useful (and being used) for getting stats data during stress
testing a complex system.

## Quick Start
Expand Down Expand Up @@ -42,7 +44,7 @@ Here's how help looks like:
-c, --canned-response [file] Existing file name to read a response from.
-o, --output [file] File name to output to.
-i, --interval [seconds] Flush interval.
-p, --port [number] Flush interval.
-p, --port [number] Port to listen on.

## Contributing

Expand Down
2 changes: 1 addition & 1 deletion webnull.coffee
Expand Up @@ -10,7 +10,7 @@ program
.option('-c, --canned-response [file]', 'Existing file name to read a response from.')
.option('-o, --output [file]', 'File name to output to.', 'webnull.log')
.option('-i, --interval [seconds]', 'Flush interval.', 10)
.option('-p, --port [number]', 'Flush interval.', 4000)
.option('-p, --port [number]', 'Port to listen on.', 4000)
.parse(process.argv)

console.log("== web/null v#{version}. I eat your HTTP. ==")
Expand Down
2 changes: 1 addition & 1 deletion webnull.js
Expand Up @@ -5,7 +5,7 @@
sys = require('sys');
program = require('commander');
version = '0.0.1';
program.version(version).option('-d, --debug', 'Show when flush happens.', false).option('-c, --canned-response [file]', 'Existing file name to read a response from.').option('-o, --output [file]', 'File name to output to.', 'webnull.log').option('-i, --interval [seconds]', 'Flush interval.', 10).option('-p, --port [number]', 'Flush interval.', 4000).parse(process.argv);
program.version(version).option('-d, --debug', 'Show when flush happens.', false).option('-c, --canned-response [file]', 'Existing file name to read a response from.').option('-o, --output [file]', 'File name to output to.', 'webnull.log').option('-i, --interval [seconds]', 'Flush interval.', 10).option('-p, --port [number]', 'Port to listen on.', 4000).parse(process.argv);
console.log("== web/null v" + version + ". I eat your HTTP. ==");
if (program.debug != null) {
console.log("* Running in debug mode.");
Expand Down

0 comments on commit cdddb58

Please sign in to comment.