Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fall back to running man without -W #36

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

whitelynx
Copy link

…since some implementations don't allow that.

Fixes #12.

Change courtesy of loreb: #12 (comment)

src/manual.c Show resolved Hide resolved
tornaria added a commit to tornaria/void-packages that referenced this pull request Nov 2, 2024
To show a man page (e.g. when there is no info file) this program uses
`man -w -W <name>` but option `-W` is unsupported by our `man(1)`.

This results in:

    $ pinfo man
    man: BADARG: bad command line argument: -W man
    Error executing command 'man -w -W  man'

and the terminal is left in a broken state.

Fix by applying this PR: baszoetekouw/pinfo#36
leahneukirchen pushed a commit to void-linux/void-packages that referenced this pull request Nov 2, 2024
To show a man page (e.g. when there is no info file) this program uses
`man -w -W <name>` but option `-W` is unsupported by our `man(1)`.

This results in:

    $ pinfo man
    man: BADARG: bad command line argument: -W man
    Error executing command 'man -w -W  man'

and the terminal is left in a broken state.

Fix by applying this PR: baszoetekouw/pinfo#36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Showing man page fails when info not found
2 participants