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

Provide a man page #52

Closed
jsamr opened this issue May 3, 2018 · 12 comments
Closed

Provide a man page #52

jsamr opened this issue May 3, 2018 · 12 comments
Labels
documentation help wanted Extra attention is needed
Milestone

Comments

@jsamr
Copy link

jsamr commented May 3, 2018

Offer a linux manual page for utility description.

@0mp
Copy link
Contributor

0mp commented May 3, 2018

Also, it would be nice if it wasn't Linux-specific 😄

@sharkdp
Copy link
Owner

sharkdp commented May 3, 2018

Sounds good. However, it feels to me that we are in a very early stage of development and command-line options are just starting to develop. So this does not feel very urgent to me.

@sharkdp sharkdp added documentation help wanted Extra attention is needed labels May 6, 2018
@sharkdp sharkdp added this to the v0.5.0 milestone Aug 18, 2018
@pickfire
Copy link

pickfire commented Aug 22, 2018

@sharkdp Would it be nice to have a troff man page or generate it from clap?

@sharkdp
Copy link
Owner

sharkdp commented Aug 22, 2018

Would it be nice to have a troff man page or generate it from clap?

troff is what we also have for fd, correct? If so, I'd prefer the same format, yes.

Auto-generating the man page also sounds appealing because maintaining the man page for fd is quite cumbersome, to be honest. But generating via clap doesn't work yet, right?

@pickfire
Copy link

pickfire commented Aug 23, 2018

Oh, @sharkdp I was the one who contributed to fd man page, just remembered it. Haha

sharkdp/fd@b6c95a4

Yes, auto man page generation is still in progress clap-rs/clap_generate#1

@sharkdp
Copy link
Owner

sharkdp commented Aug 23, 2018

@pickfire I know 😄 👍. What would you suggest for bat?

@pickfire
Copy link

@sharkdp If clap_generate have a auto man page generation, I definitely would suggest that. Right now if it was me, I would have wait for that support.

@kgilonne
Copy link

And please add "man" as subcommand of bat to open it 👍

@pickfire
Copy link

@kgilonne No, I would definitely not do that, now there's is already rustup man xxx which I think is useless, why not just add the rust man pages to MANPATH?

@sharkdp
Copy link
Owner

sharkdp commented Aug 27, 2018

I also don't see the need for a man subcommand.

@sharkdp
Copy link
Owner

sharkdp commented Aug 27, 2018

I have added a simple initial version in doc/bat.1 via help2man + some manual editing.

@sharkdp
Copy link
Owner

sharkdp commented Aug 28, 2018

I am going to close this ticket. The next version of bat will ship with a man page. Any help in improving the man page is very much appreciated!

@sharkdp sharkdp closed this as completed Aug 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants