scrapy tool: added -s alias for --set option

This commit is contained in:
Pablo Hoffman 2011-09-01 14:27:47 -03:00
parent 75284015b5
commit edefb8ac69
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ class ScrapyCommand(object):
help="write lsprof profiling stats to FILE")
group.add_option("--pidfile", dest="pidfile", metavar="FILE", \
help="write process ID to FILE")
group.add_option("--set", dest="set", action="append", default=[], metavar="NAME=VALUE", \
group.add_option("-s", "--set", dest="set", action="append", default=[], metavar="NAME=VALUE", \
help="set/override setting (may be repeated)")
parser.add_option_group(group)