Skip to content

Update noargs from 0.1.0 to 0.3.2#14

Merged
sile merged 2 commits intomainfrom
update-noargs
Apr 29, 2025
Merged

Update noargs from 0.1.0 to 0.3.2#14
sile merged 2 commits intomainfrom
update-noargs

Conversation

@sile
Copy link
Copy Markdown
Owner

@sile sile commented Apr 29, 2025

No description provided.

@sile sile requested a review from Copilot April 29, 2025 09:28
Copy link
Copy Markdown
Contributor

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 upgrades the noargs dependency from 0.1.0 to 0.3.2 and updates the related help flag usage in the code.

  • Update usage from explicit check and metadata update to a direct call of take_help
  • Bump noargs version in Cargo.toml to 0.3.2

Reviewed Changes

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

File Description
src/main.rs Replaced conditional help flag check with call to take_help
Cargo.toml Upgraded noargs dependency from 0.1.0 to 0.3.2
Comments suppressed due to low confidence (1)

src/main.rs:13

  • Verify that replacing the conditional check and manual help_mode update with the direct call to take_help properly maintains the intended behavior under noargs 0.3.2. If the new API handles help invocation internally, this is correct; otherwise, additional handling might be required.
noargs::HELP_FLAG.take_help(&mut args);

@sile sile changed the title update(deps): Upgrade noargs from 0.1.0 to 0.3.2 and update usage code Update noargs from 0.1.0 to 0.3.2 Apr 29, 2025
@sile sile merged commit 77e3040 into main Apr 29, 2025
9 checks passed
@sile sile deleted the update-noargs branch April 29, 2025 09:31
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