Repository navigation
cleanup: standardize CLI flag naming to use hyphens - #806
Conversation
|
@markolazic01 this is a breaking change and it will impact downstream usage in lean-quickstart etc. I would suggest, you create an alias, instead of a hard replace. |
|
Thanks @ch4r10t33r, will update according to your advice |
|
@ch4r10t33r |
Hmm. not worth the effort. I think we have to time your changes along with the corresponding changes on lean-quickstart. Can you make the necessary PR on that repository as well? |
|
Sounds good @ch4r10t33r, I'll make that PR as well. |
|
Companion PR for lean-quickstart: blockblaz/lean-quickstart#169 |
Thanks for this @markolazic01 . We'll discuss this internally and coordinate the release. |
|
Merged main as I resolved a new conflict. |
|
Apologies @markolazic01 , there are 3 more PRs which should be merged before I can merge yours. You can wait until all of them are merged before updating yours. Thanks for the patience. |
|
Hey @ch4r10t33r, apologies for updating (I assume you get notifications for it), I just wanted to make sure all the checks still run well as the |
|
@markolazic01 pls update the lean-quickstart commit hash on zeam to this one blockblaz/lean-quickstart#169 |
|
I updated the submodule commit. Not sure why exactly is CI failing this time, but it seems that the same issue is present on main. |
clients/zeam: use hyphenated zeam CLI flags Match blockblaz/zeam#806: --custom-genesis, --validator-config, --metrics-enable (underscore forms removed).
cleanup: standardize CLI flag naming to use hyphens
Closes #795
Problem
CLI flags used a mix of underscores and hyphens (
--custom_genesisvs--node-id), making the interface inconsistent.Changes
Renamed all underscore CLI flags to use hyphens:
--custom_genesis→--custom-genesis--network_id→--network-id--validator_config→--validator-config--metrics_enable→--metrics-enable--override_genesis_time→--override-genesis-time--data_dir→--data-dir(inBeamCmd)--dist_dir→--dist-dir(inprovecommand)Updated all references across
main.zigandnode.zigincluding struct fields, help messages, format strings, debug output, and tests.Internal struct fields in
NodeOptions(e.g..network_id,.validator_config) are unchanged — this PR only affects user-facing CLI flags.