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

If summary is missing, print name anyway #93

Merged
merged 1 commit into from
May 19, 2019

Conversation

denisdefreyne
Copy link
Owner

When a command has a name but no summary, nothing would be printed as the summary. With this change, only the name is printed, e.g.

NAME
    build

rather than (if the summary were present)

NAME
    build - do some build stuff

Fixes #92.

When a command has a name but no summary, nothing would be printed as the summary. With this change, only the name is printed, e.g.

```
NAME
    build
```

rather than (if the summary were present)

```
NAME
    build - do some build stuff
```

Fixes #92.
@judofyr
Copy link

judofyr commented May 19, 2019

Looks good to me!

@denisdefreyne denisdefreyne merged commit 9b0025e into master May 19, 2019
@denisdefreyne denisdefreyne deleted the print-name-only-if-summary-missing branch May 19, 2019 09:14
@denisdefreyne
Copy link
Owner Author

Released as 2.15.6!

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.

Commands without summary does not even show command name
2 participants