Skip to content

Migrate to clap 4#8

Merged
SoumyaRanjanPatnaik merged 1 commit intoregolith-linux:masterfrom
manthanabc:master
Mar 12, 2025
Merged

Migrate to clap 4#8
SoumyaRanjanPatnaik merged 1 commit intoregolith-linux:masterfrom
manthanabc:master

Conversation

@manthanabc
Copy link
Contributor

Migrated to clap 4

issue #4

changes

  • Replaced Deprecated AppSettings::ArgRequiredElseHelp with arg_required_with_help=true
  • Replaced Deprecated min_value and max_value with num_args(0..=1)

reference: clap 4 change log

@SoumyaRanjanPatnaik
Copy link
Collaborator

Thanks for the PR.

@SoumyaRanjanPatnaik
Copy link
Collaborator

Will test this and let you know.

@SoumyaRanjanPatnaik SoumyaRanjanPatnaik self-requested a review March 12, 2025 14:43
Copy link
Collaborator

@SoumyaRanjanPatnaik SoumyaRanjanPatnaik left a comment

Choose a reason for hiding this comment

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

LGTM. Works fine on testing as well. Thanks.

@SoumyaRanjanPatnaik SoumyaRanjanPatnaik merged commit 725f998 into regolith-linux:master Mar 12, 2025
kgilmer added a commit that referenced this pull request Mar 16, 2025
This reverts commit 725f998, reversing
changes made to 81dd744.
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