Improved some commands descriptions

This commit is contained in:
Pablo Hoffman 2010-08-21 05:03:38 -03:00
parent e6d2a3087e
commit b8b7b5ad74
6 changed files with 6 additions and 6 deletions

View File

@ -32,7 +32,7 @@ class Command(ScrapyCommand):
return "[options] <name> <domain>"
def short_desc(self):
return "Generate new spider based on template passed with -t or --template"
return "Generate new spider using pre-defined templates"
def add_options(self, parser):
ScrapyCommand.add_options(self, parser)

View File

@ -16,7 +16,7 @@ class Command(ScrapyCommand):
return "[options] <url>"
def short_desc(self):
return "Parse the given URL (using the spider) and print the results"
return "Parse URL (using its spider) and print the results"
def add_options(self, parser):
ScrapyCommand.add_options(self, parser)

View File

@ -29,7 +29,7 @@ class Command(ScrapyCommand):
return "[options] <spider_file>"
def short_desc(self):
return "Run a spider"
return "Run a self-contained spider (without creating a project)"
def long_desc(self):
return "Run the spider defined in the given file"

View File

@ -10,7 +10,7 @@ class Command(ScrapyCommand):
return "[options]"
def short_desc(self):
return "Query Scrapy settings"
return "Get settings values"
def add_options(self, parser):
ScrapyCommand.add_options(self, parser)

View File

@ -29,7 +29,7 @@ class Command(ScrapyCommand):
return "<project_name>"
def short_desc(self):
return "Create new project with an initial project template"
return "Create new project"
def run(self, args, opts):
if len(args) != 1:

View File

@ -5,7 +5,7 @@ from scrapy.utils.response import open_in_browser
class Command(fetch.Command):
def short_desc(self):
return "Open a URL in browser, as seen by Scrapy"
return "Open URL in browser, as seen by Scrapy"
def long_desc(self):
return "Fetch a URL using the Scrapy downloader and show its " \