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 #28

Merged
merged 1 commit into from
May 7, 2023
Merged

update!: changed APIs #28

merged 1 commit into from
May 7, 2023

Conversation

sttk
Copy link
Owner

@sttk sttk commented May 7, 2023

Changes:

  1. Args --> Cmd.
  2. Changes error reasons:
    1. ConfigIsArrayButHasNoParam --> ConfigIsArrayButHasNoArg
    2. ConfigHasDefaultButHasNoParam --> ConfigHasDefaultButHasNoArg
    3. OptionNeedsParam --> OptionNeedsArg
    4. OptionTakesNoParam --> OptionTakesNoArg
  3. Changes fields of OptCfg
    1. HasParam --> HasArg
    2. AtParam --> HelpArg
  4. Changes struct tags of an option store
    1. opt --> optcfg
    2. optparam --> optarg

@sttk sttk merged commit c46e9f6 into main May 7, 2023
@sttk sttk deleted the update-change_apis branch May 7, 2023 07:52
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.

1 participant