mirror of https://github.com/scrapy/scrapy.git
Fix default value.
This commit is contained in:
parent
9822eb78cc
commit
e64d6e3f3c
|
|
@ -19,8 +19,8 @@ class Command(ScrapyCommand):
|
|||
help="set spider argument (may be repeated)")
|
||||
parser.add_option("-o", "--output", metavar="FILE",
|
||||
help="dump scraped items into FILE (use - for stdout)")
|
||||
parser.add_option("-t", "--output-format", metavar="FORMAT", default="jsonlines",
|
||||
help="format to use for dumping items with -o (default: %default)")
|
||||
parser.add_option("-t", "--output-format", metavar="FORMAT",
|
||||
help="format to use for dumping items with -o")
|
||||
|
||||
def process_options(self, args, opts):
|
||||
ScrapyCommand.process_options(self, args, opts)
|
||||
|
|
|
|||
|
|
@ -41,8 +41,8 @@ class Command(ScrapyCommand):
|
|||
help="set spider argument (may be repeated)")
|
||||
parser.add_option("-o", "--output", metavar="FILE",
|
||||
help="dump scraped items into FILE (use - for stdout)")
|
||||
parser.add_option("-t", "--output-format", metavar="FORMAT", default="jsonlines",
|
||||
help="format to use for dumping items with -o (default: %default)")
|
||||
parser.add_option("-t", "--output-format", metavar="FORMAT",
|
||||
help="format to use for dumping items with -o")
|
||||
|
||||
def process_options(self, args, opts):
|
||||
ScrapyCommand.process_options(self, args, opts)
|
||||
|
|
|
|||
Loading…
Reference in New Issue