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

Handle multi line option and argument description in the generated help message #96

Merged
merged 1 commit into from
May 9, 2019

Conversation

jawher
Copy link
Owner

@jawher jawher commented Apr 30, 2019

The help output will resemble:

Usage: app [-o] ARG

Longer App Desc

Arguments:
  ARG           Argument
                Description
                Multiple
                Lines

Options:
  -o, --opt     Option
                does something
                another line (env $XXX_TEST) (default "default")
  -f, --force   Force
                does something
                another line (env $YYY_TEST)

@coveralls
Copy link

coveralls commented Apr 30, 2019

Coverage Status

Coverage increased (+0.03%) to 95.573% when pulling 654d4c3 on multi-line-desc into 8742552 on master.

…lp message

The help output will resemble:

```
Usage: app [-o] ARG

Longer App Desc

Arguments:
  ARG           Argument
                Description
                Multiple
                Lines

Options:
  -o, --opt     Option
                does something
                another line (env $XXX_TEST) (default "default")
  -f, --force   Force
                does something
                another line (env $YYY_TEST)
```
@jawher jawher merged commit 9b8ce43 into master May 9, 2019
@jawher jawher deleted the multi-line-desc branch May 9, 2019 20:56
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.

2 participants