(opt: object)
| 51 | |
| 52 | |
| 53 | def _fmt_flags(opt: object) -> str: |
| 54 | parts = list(opt.short) + list(opt.long) # type: ignore[union-attr] |
| 55 | if not parts: |
| 56 | return f"(positional: {opt.positional})" # type: ignore[union-attr] |
| 57 | return "[" + ", ".join(parts) + "]" |
| 58 | |
| 59 | |
| 60 | def compare_manpages( |
no outgoing calls
no test coverage detected