mirror of https://github.com/scrapy/scrapy.git
Remove unused --headers option for view command
This commit is contained in:
parent
b279bc8546
commit
fc07711614
|
|
@ -12,8 +12,7 @@ class Command(fetch.Command):
|
|||
|
||||
def add_options(self, parser):
|
||||
super(Command, self).add_options(parser)
|
||||
parser.add_option("--spider", dest="spider",
|
||||
help="use this spider")
|
||||
parser.remove_option("--headers")
|
||||
|
||||
def _print_response(self, response, opts):
|
||||
open_in_browser(response)
|
||||
|
|
|
|||
Loading…
Reference in New Issue