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

Print help without man #1009

Merged
merged 2 commits into from
Jan 10, 2018
Merged

Print help without man #1009

merged 2 commits into from
Jan 10, 2018

Conversation

Feder1co5oave
Copy link
Contributor

@Feder1co5oave Feder1co5oave commented Jan 9, 2018

This fixes #992, at least temporarily.

See also #994

I've parsed the manpage in order to generate a textual version stripped of any escape characters. Whenever --help is called and man cannot be run, it simply prints this textual version on the screen, as suggested by @UziTech here.

@UziTech
Copy link
Member

UziTech commented Jan 9, 2018

this should probably be combined with #994 so the deprecation warning isn't shown.

@Feder1co5oave
Copy link
Contributor Author

They're correlated, but have no dependency on each other.

@joshbruce joshbruce merged commit b4bac41 into markedjs:master Jan 10, 2018
@Feder1co5oave Feder1co5oave deleted the help_noman branch January 15, 2018 01:13
zhenalexfan pushed a commit to zhenalexfan/MarkdownHan that referenced this pull request Nov 8, 2021
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.

Marked CLI Help Won't Open
3 participants