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

update: changed APIs to print help #29

Merged
merged 4 commits into from
May 10, 2023
Merged

Conversation

sttk
Copy link
Owner

@sttk sttk commented May 10, 2023

This PR deprecated PrintHelp function and WrapOpts struct.
Instead, this PR adds Help struct and its methods: Help#Iter and Help#Print.

In addition, this PR renames the field of OptCfg: .HelpArg to .ArgHelp.

Closes #26

print-help.go Show resolved Hide resolved
print-help_test.go Outdated Show resolved Hide resolved
print-help.go Outdated Show resolved Hide resolved
print-help.go Outdated Show resolved Hide resolved
@sttk sttk merged commit 229b81e into main May 10, 2023
9 checks passed
@sttk sttk deleted the 26-update-change-apis-to-print-help branch May 10, 2023 17:36
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.

Add wrap options
1 participant