Manpage of podman should use U+002d (HYPHEN-MINUS) , instead of converting to U+2010 (HYPHEN), to represent hyphen to prevent confusing #21216
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Issue Description
When reading manpages of podman via
man podman
, user noticed that it's unable to search command options with dashes (e.g.--foobar
), but able to search without dashes (e.g.foobar
).Steps to reproduce the issue
Steps to reproduce the issue
man podman
/
, enterconnection
to search, found./
again, enter--connection
to search, nothing found./
again, enter‐‐connection
to search, found.Describe the results you received
(Already described in reproduce steps)
Describe the results you expected
User should be able to search option directly via typing
--
on keyboard. And manpage should not use unnecessary non-ASCII characters.podman info output
N/A
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
N/A (official build doesn't include built manpages)
Additional environment details
Additional information
I noticed that the dashes inside the source code of the manpage are normally entered
-
(U+002d HYPHEN-MINUS
):https://github.com/containers/podman/blob/bed60d951c992c7ab0c6cd57d6d68fed896d47d7/docs/source/markdown/options/hooks-dir.md?plain=1
Should not convert them to
U+2010 HYPHEN
when generating manapge.The text was updated successfully, but these errors were encountered: