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

allow newline after Usage / Options #17

Closed
tj opened this issue Jun 30, 2014 · 3 comments
Closed

allow newline after Usage / Options #17

tj opened this issue Jun 30, 2014 · 3 comments

Comments

@tj
Copy link

tj commented Jun 30, 2014

it just outputs the help, no error or anything, kinda confusing, having them squished looks weird but that whitespace should be optional and left up to the author anyway. Same with leading/trailing whitespace, I'm not a fan of stdio that is shoved against the terminal edges so a tool forcing me to do that is a little meh

@keleshev
Copy link
Member

/cc @kbatten, @mboersma

@mboersma mboersma self-assigned this Aug 6, 2014
@mboersma mboersma added this to the 0.6.2 milestone Aug 6, 2014
@mboersma mboersma removed their assignment Mar 24, 2016
@mboersma mboersma modified the milestone: v0.6.2 Mar 24, 2016
@aviddiviner
Copy link
Contributor

I have a fork which should handle this, you can just set your own HelpHandler func and choose what to do. Take a look at the docs if you're interested. https://github.com/aviddiviner/docopt-go#api

@mboersma
Copy link
Member

Now that the above fork is merged back upstream, this should be easy as described above.

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

No branches or pull requests

4 participants