Skip to content

Change manpage command to man - #6548

Merged
phadej merged 2 commits into
haskell:masterfrom
phadej:man-command
Feb 21, 2020
Merged

phadej merged 2 commits into
haskell:masterfrom
phadej:man-command

Conversation

@phadej

@phadej phadej commented Feb 19, 2020

Copy link
Copy Markdown
Collaborator

And make it pipe output to man -l -.

@phadej
phadej force-pushed the man-command branch 3 times, most recently from af20c03 to 2969b1d Compare February 19, 2020 21:00
And make it pipe output to `man -l -`.
@phadej
phadej force-pushed the man-command branch 3 times, most recently from e8e6934 to bea78db Compare February 21, 2020 08:44
@phadej
phadej merged commit e75c9f5 into haskell:master Feb 21, 2020
@phadej
phadej deleted the man-command branch February 21, 2020 12:57
@phadej phadej mentioned this pull request Jul 10, 2020
@phadej phadej added this to the 3.4.0.0-rc1 milestone Jul 13, 2020
@andreasabel

Copy link
Copy Markdown
Member

Seems like renaming was not complete:

$  cabal man foo
Error: cabal: 'manpage' doesn't take any extra arguments: foo

@Mikolaj

Mikolaj commented Oct 7, 2021 •

Copy link
Copy Markdown
Member

Well spotted: git grep suggests this is the last vestige.

@andreasabel

andreasabel commented Oct 7, 2021 •

Copy link
Copy Markdown
Member

Also, on macOS it does not work:

$ cabal man 
man: invalid option -- l
man, version 1.6c

usage: man [-adfhktwW] [section] [-M path] [-P pager] [-S list]
	[-m system] [-p string] name ...
...
fd:13: commitBuffer: resource vanished (Broken pipe)

I'll open an issue.

@Mikolaj

Mikolaj commented Oct 7, 2021

Copy link
Copy Markdown
Member

Yes, please. On Ubuntu it works for me (with cabal 3.4).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants