Make --character-set an alias for --charset at the CLI#1590
Make --character-set an alias for --charset at the CLI#1590rolandwalker merged 1 commit intomainfrom
--character-set an alias for --charset at the CLI#1590Conversation
|
Findings
Notes
|
scottnemes
left a comment
There was a problem hiding this comment.
Did you want to add in deprecation for --charset or just accept both indefinitely? Good to go either way, verified the alias works.
6ebee83 to
af90ad9
Compare
|
@scottnemes I'm fine with accepting both indefinitely. We have enough pending deprecations! But, I pushed an amended version of the PR and am re-requesting review. It is functionally identical, but it goes farther and changes all the internal uses of |
|
Review Summary No correctness or security issues found in the diff. One test gap to cover the new alias behavior. Findings (ordered by severity)
Notes
|
|
No correctness, security, or regression issues found in the code changes. Missing tests
Optional (docs)
|
at the CLI, for alignment with the spelling of the equivalent option in ~/.myclirc. Internally, refactor to use "character_set" instead of "charset" wherever possible. The form "charset" is limited to the invocation of pymysql's connect().
af90ad9 to
defc199
Compare
scottnemes
left a comment
There was a problem hiding this comment.
Verified the option file and CLI values work as expected
Description
Make
--character-setan alias for--charsetat the CLI, for alignment with the spelling of the equivalent option in~/.myclirc.Internally, refactor to use
character_setinstead ofcharsetwherever possible. The formcharsetis limited to the invocation ofpymysql's connect().Checklist
changelog.mdfile.AUTHORSfile (or it's already there).