(parser: lexopt::Parser)
| 193 | } |
| 194 | |
| 195 | fn help(parser: lexopt::Parser) -> ! { |
| 196 | let usage = USAGE_STRING.replace("{PROG}", parser.bin_name().unwrap_or("rustpython")); |
| 197 | print!("{usage}"); |
| 198 | std::process::exit(0); |
| 199 | } |
| 200 | |
| 201 | fn version() -> ! { |
| 202 | println!("Python {}", rustpython_vm::version::get_version()); |
no test coverage detected