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

use Name as default to HelpName #1202

Merged
merged 1 commit into from Nov 26, 2020
Merged

use Name as default to HelpName #1202

merged 1 commit into from Nov 26, 2020

Conversation

fxrlv
Copy link
Contributor

@fxrlv fxrlv commented Nov 3, 2020

What type of PR is this?

  • bug
  • documentation

What this PR does / why we need it:

doc says App.HelpName is Full name of command for help, defaults to Name
current behaviour is using filepath.Base(os.Args[0]) instead
this PR makes code do what doc says

Which issue(s) this PR fixes:

no issue yet

Release Notes

use Name as default value for HelpName

@fxrlv fxrlv requested a review from a team as a code owner November 3, 2020 10:41
@fxrlv fxrlv requested review from saschagrunert and coilysiren and removed request for a team November 3, 2020 10:41
Copy link
Member

@coilysiren coilysiren left a comment

Choose a reason for hiding this comment

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

Makes sense!

@coilysiren
Copy link
Member

I can't immediately tell if the test-docs failure is related 👀 🤔

@rliebz rliebz merged commit fe989e1 into urfave:master Nov 26, 2020
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.

None yet

4 participants