(config: Config)
| 144 | |
| 145 | |
| 146 | def pytest_cmdline_main(config: Config) -> Optional[Union[int, ExitCode]]: |
| 147 | if config.option.version > 0: |
| 148 | showversion(config) |
| 149 | return 0 |
| 150 | elif config.option.help: |
| 151 | config._do_configure() |
| 152 | showhelp(config) |
| 153 | config._ensure_unconfigure() |
| 154 | return 0 |
| 155 | return None |
| 156 | |
| 157 | |
| 158 | def showhelp(config: Config) -> None: |
nothing calls this directly
no test coverage detected