docs: function validate(cmd, args, info) {
    AbstractCommand.prototype.validate.apply(this, arguments);
    var index = parseInt(args[0]);
    if(isNaN(index) || index < 0 || index >= info.conf.databases) {
      throw DatabaseIndex;
    }
    // update the index with the integer value
    // connection expects an integer
    args[0] = index;
  }