Skip to content

No longer setting parser's prog value in with_argparser(). #1462

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

Merged
merged 1 commit into from
Jul 12, 2025

Conversation

kmvanbrunt
Copy link
Member

No longer setting parser's prog value in with_argparser() since it gets set in Cmd._build_parser().

This code had previously been restored to support backward compatibility in cmd2 2.0 family.
Now that we are moving to cmd2 3.0, it can be removed.

@kmvanbrunt kmvanbrunt requested a review from tleonhardt July 12, 2025 16:13
@kmvanbrunt kmvanbrunt requested a review from anselor as a code owner July 12, 2025 16:13
Copy link

codecov bot commented Jul 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.50%. Comparing base (71c4130) to head (2c08b79).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1462      +/-   ##
==========================================
- Coverage   98.50%   98.50%   -0.01%     
==========================================
  Files          20       20              
  Lines        5605     5603       -2     
==========================================
- Hits         5521     5519       -2     
  Misses         84       84              
Flag Coverage Δ
unittests 98.50% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@tleonhardt tleonhardt left a comment

Choose a reason for hiding this comment

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

Please add a breaking change note to the CHANGELOG

@kmvanbrunt kmvanbrunt merged commit beed0d1 into main Jul 12, 2025
33 checks passed
@kmvanbrunt kmvanbrunt deleted the not_setting_prog branch July 12, 2025 16:54
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