| 540 | self.args.prettify = PRETTY_MAP[self.args.prettify] |
| 541 | |
| 542 | def _process_download_options(self): |
| 543 | if self.args.offline: |
| 544 | self.args.download = False |
| 545 | self.args.download_resume = False |
| 546 | return |
| 547 | if not self.args.download: |
| 548 | if self.args.download_resume: |
| 549 | self.error('--continue only works with --download') |
| 550 | if self.args.download_resume and not ( |
| 551 | self.args.download and self.args.output_file): |
| 552 | self.error('--continue requires --output to be specified') |
| 553 | |
| 554 | def _process_format_options(self): |
| 555 | format_options = self.args.format_options or [] |