From edefb8ac69570fc98a104f730289202589b7a3ac Mon Sep 17 00:00:00 2001 From: Pablo Hoffman Date: Thu, 1 Sep 2011 14:27:47 -0300 Subject: [PATCH] scrapy tool: added -s alias for --set option --- scrapy/command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapy/command.py b/scrapy/command.py index dc2de9ac8..70ab04921 100644 --- a/scrapy/command.py +++ b/scrapy/command.py @@ -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)