Skip to content

Commit

Permalink
Remove unused --headers option for view command
Browse files Browse the repository at this point in the history
  • Loading branch information
redapple committed Jan 30, 2017
1 parent b279bc8 commit fc07711
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scrapy/commands/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ def long_desc(self):

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)

0 comments on commit fc07711

Please sign in to comment.