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

re2c help message is too wide for most terminals #176

Closed
pmetzger opened this issue Apr 7, 2017 · 2 comments
Closed

re2c help message is too wide for most terminals #176

pmetzger opened this issue Apr 7, 2017 · 2 comments

Comments

@pmetzger
Copy link
Contributor

@pmetzger pmetzger commented Apr 7, 2017

Howdy! The message you get when you run re2c --help is formatted for much wider than the standard 80 columns one finds on a normal terminal.

Fixing this is pretty easy, it just requires a quick reformat of conf/msg.cc. I might volunteer to do it if the change would be accepted.

@pskocik
Copy link
Contributor

@pskocik pskocik commented Apr 7, 2017

The --help output should also be synced with the options section of the manpage. I believe it should be completely generated from that manpage section.
My #177 does just that. (Ideally, that generation, as well as syncing between the master branch and the gh-pages-gen branch, should be made part of the build system, but I don't feel like playing with that).

Loading

@skvadrik skvadrik closed this in #177 Apr 8, 2017
@skvadrik
Copy link
Owner

@skvadrik skvadrik commented Apr 8, 2017

Yes, manpage doc/manpage.rst definitely should be synced with --help and the corresponding online documentation page in gh-pages-gen branch should be synced with both. I just didn't find an elegant way to do it yet.

I think --help must be the primary source as it is included in re2c source code.

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

3 participants