关于论证意义的简单问题
Simple questions about the meaning of an argument
所以我是运行这个命令
scrapy crawl dmoz -o items.json
我只是不明白 -o 是什么意思。我研究过,但找不到。
是输出的意思吗?我不确定。
谢谢!
我运行scrapy crawl -h
得到选项:
--output=FILE, -o FILE dump scraped items into FILE (use - for stdout)
完整帮助:
Run a spider
Options
=======
--help, -h show this help message and exit
-a NAME=VALUE set spider argument (may be repeated)
--output=FILE, -o FILE dump scraped items into FILE (use - for stdout)
--output-format=FORMAT, -t FORMAT
format to use for dumping items with -o
Global Options
--------------
--logfile=FILE log file. if omitted stderr will be used
--loglevel=LEVEL, -L LEVEL
log level (default: DEBUG)
--nolog disable logging completely
--profile=FILE write python cProfile stats to FILE
--lsprof=FILE write lsprof profiling stats to FILE
--pidfile=FILE write process ID to FILE
--set=NAME=VALUE, -s NAME=VALUE
set/override setting (may be repeated)
--pdb enable pdb on failure
所以我是运行这个命令
scrapy crawl dmoz -o items.json
我只是不明白 -o 是什么意思。我研究过,但找不到。
是输出的意思吗?我不确定。
谢谢!
我运行scrapy crawl -h
得到选项:
--output=FILE, -o FILE dump scraped items into FILE (use - for stdout)
完整帮助:
Run a spider
Options
=======
--help, -h show this help message and exit
-a NAME=VALUE set spider argument (may be repeated)
--output=FILE, -o FILE dump scraped items into FILE (use - for stdout)
--output-format=FORMAT, -t FORMAT
format to use for dumping items with -o
Global Options
--------------
--logfile=FILE log file. if omitted stderr will be used
--loglevel=LEVEL, -L LEVEL
log level (default: DEBUG)
--nolog disable logging completely
--profile=FILE write python cProfile stats to FILE
--lsprof=FILE write lsprof profiling stats to FILE
--pidfile=FILE write process ID to FILE
--set=NAME=VALUE, -s NAME=VALUE
set/override setting (may be repeated)
--pdb enable pdb on failure