Skip to content
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

chore(cli): remove useless clap rename #5226

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

Alex6323
Copy link
Contributor

@Alex6323 Alex6323 commented Feb 6, 2025

Description of change

Removes all instances of pointless clap argument renames. Renames are considered pointless if they convert underscores to hyphens or if they rename to the same name that the field already has.

How the change was tested

cargo run --package iota-move --release -- --help
cargo run --package iota --release -- --help

Links to any relevant issues

fixes #5166

@Alex6323 Alex6323 requested a review from a team as a code owner February 6, 2025 10:54
Copy link

vercel bot commented Feb 6, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
apps-backend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 13, 2025 9:04am
rebased-explorer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 13, 2025 9:04am
wallet-dashboard ✅ Ready (Inspect) Visit Preview Feb 13, 2025 9:04am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
apps-ui-kit ⬜️ Ignored (Inspect) Visit Preview Feb 13, 2025 9:04am

@iota-ci iota-ci added dev-tools Issues related to the Developer Tools Team sc-platform Issues related to the Smart Contract Platform group. labels Feb 6, 2025
@Alex6323 Alex6323 force-pushed the dev-tools/remove-useless-clap-renaming branch from 2bab65e to aa9cb22 Compare February 6, 2025 11:35
@Alex6323 Alex6323 force-pushed the dev-tools/remove-useless-clap-renaming branch from 894e324 to e399634 Compare February 12, 2025 11:30
Copy link
Member

@thibault-martinez thibault-martinez left a comment

Choose a reason for hiding this comment

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

@@ -28,10 +28,10 @@ struct Args {
pub package_path: Option<PathBuf>,
/// If true, run the Move bytecode verifier on the bytecode from a
/// successful build
#[arg(long = "path", short = 'p', global = true)]
Copy link
Member

Choose a reason for hiding this comment

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

This is a breaking change so the PR should be flagged as such

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev-tools Issues related to the Developer Tools Team sc-platform Issues related to the Smart Contract Platform group.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

chore: remove useless clap snake-case renaming
6 participants