Hi, when argparse 'RawDescriptionHelpFormatter' is used for formatting the description and epilog, pyinstaller-bundled executable is changing the text flow (i.e. not text-wrapping) of the positional as well as
In Python, the argparse module can be used to specify optional positional arguments by setting the nargs parameter to '?'.
let callback = RustClosure::new(py, move |py: Python, args, kwargs| { py_argparse!(py, None, args, kwargs, ( html: String, title: Option<String> = None, position: Option<i32> = None, reveal: bool = false ) { event_sink.display_html(html, title, position, reveal); Ok(py....
15 4 import argparse 16 5 import os @@ -65,7 +54,9 @@ def get_parser(): # type: () -> argparse.ArgumentParser 65 54 66 55 parser.add_argument( 67 56 'elf_file', help='ELF file of application', 68 - type=argparse.FileType('rb')) 57 + type=lambda f: open(f, ...
This feature is only available on Python 3.9 and above, and was added in f3965cc [/content/stable-diffusion-webui/modules/shared.py](https://localhost:8080/#) in <module> 50 parser.add_argument("--opt-channelslast", action='store_true', ...