Skip to content

Conversation

Himess
Copy link

@Himess Himess commented Mar 14, 2025

Description

Updated #[clap(...)] attributes to #[command(...)] and #[arg(...)] where appropriate. This ensures compatibility with the latest clap versions and improves clarity in CLI argument definitions.

Testing Performed

Verified that the updated attributes correctly map to their intended clap functionalities. Checked that the binary compiles without errors and maintains expected behavior.

Checklist

  • I have performed a self-review of my own code.
  • The tests pass successfully with cargo test.
  • The code was formatted with cargo fmt.
  • The code compiles with no new warnings with cargo build --release and cargo build --release --features runtime-benchmarks.
  • The code has no new warnings when using cargo clippy.

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.

1 participant