You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug man py incorrectly shows -list and -help options (i.e., with a single "-")
(Also, possibly a separate issue, the "synopsis" should probably show the help and list options.)
To Reproduce
$ man py
...
SYNOPSIS
py [-[X]/[X.Y]] ...
...
OPTIONS
-h/–help
Print a help message and exit; must be specified on its own.
–list List all known interpreters (except activated virtual environment); must be specified on its own.
Expected behaviour
Above should show --list and --help.
System Details (please complete the following information):
OS: macOS 13.5 with homebrew python 3.11
Shell: bash
Launcher Version: 1.0.0
The text was updated successfully, but these errors were encountered:
https://pandoc.org/demo/pandoc.1.md is how pandoc uses Markdown for its man page; looks like an escape for the first dash is what's necessary, e.g., \--help.
It also seems the more common style is a comma separating the options (at least comparing pandoc and curl's man pages), e.g., -h, \--help
Describe the bug
man py
incorrectly shows-list
and-help
options (i.e., with a single "-")(Also, possibly a separate issue, the "synopsis" should probably show the help and list options.)
To Reproduce
$
man py
Expected behaviour
Above should show
--list
and--help
.System Details (please complete the following information):
The text was updated successfully, but these errors were encountered: