Skip to content

Update noargs dependency from 0.1.0 to 0.3.1#5

Merged
sile merged 1 commit intomainfrom
update-noargs
Apr 27, 2025
Merged

Update noargs dependency from 0.1.0 to 0.3.1#5
sile merged 1 commit intomainfrom
update-noargs

Conversation

@sile
Copy link
Copy Markdown
Owner

@sile sile commented Apr 27, 2025

No description provided.

@sile sile requested a review from Copilot April 27, 2025 22:45
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the noargs dependency from version 0.1.0 to 0.3.1 and adjusts the code to align with the new API changes.

  • Replaced the legacy HELP_FLAG handling with the new take_help method.
  • Switched from using parse_if_present to present_and_then for option value parsing.
  • Updated the Cargo.toml to reference the new dependency version.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/main.rs Updated help flag handling and option parsing to match new API usage.
Cargo.toml Upgraded the noargs dependency version to 0.3.1.

@sile sile changed the title Update noargs dependency from 0.1.0 to 0.3.1 and adjust code for API changes Update noargs dependency from 0.1.0 to 0.3.1 Apr 27, 2025
@sile sile merged commit 3e42e90 into main Apr 27, 2025
9 checks passed
@sile sile deleted the update-noargs branch April 27, 2025 22:46
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