lib/cligen.js
function(err, result) {
      if (err && !util.isError(err)) {
        err = new Error(err);
      }
      if (callback) callback(err, result);
    }
function(err, result) {
      if (err && !util.isError(err)) {
        err = new Error(err);
      }
      if (callback) callback(err, result);
    }
function ( err , result ) { if ( err && ! util . isError ( err ) ) { err = new Error ( err ) ; } if ( callback ) callback ( err , result ) ; }
stub callback to ensure we always return an Error object
stub callback to ensure we always return an Error object