def _headers_from_command_line(self):
        r = {}
        if self.options.add_headers:
            for s in self.options.add_headers:
                (k, v) = s.split(':', 1)
                r[k] = v

        if self.options.add_header_imported_from:
            r['X-Imported-From-URL'] = self.options.url

        return r
Compress a list of host into a more compact range representation
dataset/ETHPy150Open lavr/python-emails/scripts/make_rfc822.py/MakeRFC822._headers_from_command_line--crossover with--dataset/ETHPy150Open dwighthubbard/hostlists/hostlists/hostlists.py/compress