| Conditions | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | # -*- coding: utf-8 -*- |
||
| 12 | def get_parser(self, prog_name): |
||
| 13 | parser = super(CrawlCommand, self).get_parser(prog_name) |
||
| 14 | |||
| 15 | parser.add_argument("-p", "--processes", |
||
| 16 | help='Number of processes used (set 0 to use main process)', |
||
| 17 | dest='processes', default=0) |
||
| 18 | |||
| 19 | parser.add_argument("--debug", help='Enable debug', action='store_true') |
||
| 20 | return parser |
||
| 21 | |||
| 27 |