docs: function (opts, params) {
      // Escape =s in parameters
      if (params == null) params = [];
      params = params.map(function(elem) {
        return escape(JSON.stringify(elem), '=');
      });
      var collapsedOpts = collapse(opts);
      return params.concat(Object.keys(collapsedOpts).map(function(key) {
        // Transform key/value pairs to string form: -<KEY>=<VALUE>
        return "-" + escape(key, "=") + "=" + JSON.stringify(collapsedOpts[key]);
      }));
    }