Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Hi! I fixed some calls to "sys" for you! #39

merged 1 commit into from

3 participants

node-migrator-bot Tomaz Muraus Farrin Reid

Hello cloudkick!

I am migrationBot, an open-source bot, and I'm here to help you migrate your codebase to node v0.8!

Did you know that the "sys" module throws an error if your program tries to require it in node v0.8? To help keep your code running, I automatically replaced var sys = require('sys') with var util = require('util').

If you'd like to know more about these changes in node.js, take a look at joyent/node@1582cf#L1R51 and and .

As for myself, I was written by your friendly neighborhood node ninjas at Nodejitsu, and you can find them at #nodejitsu on or with .



Tomaz Muraus Kami merged commit b946662 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 24, 2012
  1. Farrin Reid
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/extern/optparse/
4 lib/extern/optparse/
@@ -12,7 +12,7 @@ QUICK START
The library defines one class, the OptionParser class. The class constructor takes one single argument, a list with a set of rules. Here is a quick example:
// Import the sys library
- var sys = require('sys');
+ var util = require('util');
// Import the optparse library.
var optparse = require('optparse');
@@ -29,7 +29,7 @@ The library defines one class, the OptionParser class. The class constructor tak
// Hook the help option. The callback will be executed when the OptionParser
// hits the switch ´´-h´´ or ´´--help´´. Each representatio
parser.on('help', function() {
- sys.puts('Help');
+ util.puts('Help');
Something went wrong with that request. Please try again.