Skip to content

Rename internal help routine#1131

Merged
shadowspawn merged 1 commit intotj:developfrom
shadowspawn:feature/rename-help-routine
Jan 1, 2020
Merged

Rename internal help routine#1131
shadowspawn merged 1 commit intotj:developfrom
shadowspawn:feature/rename-help-routine

Conversation

@shadowspawn
Copy link
Copy Markdown
Collaborator

Pull Request

Minor code change for readability.

Problem

I found outputHelpIfNecessary a misleading name. I wondered when I read it what it checks for, missing arguments, missing options, misspelled commands?

Solution

Rename as outputHelpIfRequested. Hopefully make it clearer that it is displaying help if the user has asked for it, not because Commander decides it is necessary.

Copy link
Copy Markdown
Collaborator

@abetomo abetomo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

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